prepare.ESI: Read an ESI Spectrum as Template

Description Usage Arguments Details Value Author(s) See Also

View source: R/prepare.ESI.R

Description

This function provides a wrapper to prepare.template specifically geared to Keck/ESI spectra from Tommaso Treu.

Usage

1
2
prepare.ESI(ident, config.file = NULL, path = NULL,
               lambda.lim = NULL , ...)

Arguments

ident

character string identifying an ESI 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 ESI library

lambda.lim

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

...

Further parameters to be passed to prepare.template.

Details

The ESI spectra are expected to reside in $SLACS_HOME/ESI/. A non-standard path can be given with path.

The identifier is a three-digit HR number, e.g. "HR019" for HR 19. This is also used as the object name.

The atmospheric parameters are looked for in header keywords SPTYPE, TEFF, LOGG and FEH. These were added by OC on 2008-02-26 from SIMBAD information.

Value

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

Author(s)

Oliver Czoske

See Also

prepare.template, prepare.spectrum


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