prepare.IndoUS: Read an Indo-US Spectrum as Template

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/prepare.IndoUS.R

Description

This function provides a wrapper to prepare.template specifically geared to Indo-US spectra.

Usage

1
2
prepare.IndoUS(ident, config.file = NULL, path = NULL,
               lambda.lim = NULL, resolution.target, ...)

Arguments

ident

character string identifying an Indo-US spectrum. This is the basename of the corresponding fits file.

config.file

name of a configuration file. This can be used to specify a wavelength range to be used with a given target galaxy.

path

optional character string to specify non-standard path to the Indo-US library

lambda.lim

two-component vector giving the wavelength range to be read from the template spectrum. If NULL, the entire spectrum is read.

resolution.target

Instrumental resolution (sigma!) of the spectrum that is to be fitted.

...

Further parameters to be passed to prepare.template.

Details

The Indo-US library is expected to reside in $SLACS_HOME/Indo-US/IRAF. A non-standard path can be given with path.

From a given resolution.target, the routing automatically computes the required width of the smoothing kernel used by prepare.template. The instrumental resolution of the IndoUS spectra is 0.43 Angstroms.

The object name and atmospheric parameters are looked for in keywords OBJNAME, PICKTYPE, TEFF, LOGG and FEH.

Value

An object of class spectrum, resampled to a logarithmic wavelength vector.

Author(s)

Oliver Czoske

See Also

prepare.template, prepare.spectrum

Examples

1
2
3
4
5
6
## Not run: 
template <- prepare.IndoUS("100006")
plot.spectrum(template)

## End(Not run)
  

oczoske/slacR documentation built on May 20, 2019, 8:23 p.m.