Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/prepare.IndoUS.R
This function provides a wrapper to prepare.template
specifically geared to Indo-US spectra.
1 2 | prepare.IndoUS(ident, config.file = NULL, path = NULL,
lambda.lim = NULL, resolution.target, ...)
|
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 |
resolution.target |
Instrumental resolution (sigma!) of the spectrum that is to be fitted. |
... |
Further parameters to be passed to
|
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.
An object of class spectrum
, resampled to a logarithmic
wavelength vector.
Oliver Czoske
prepare.template
, prepare.spectrum
1 2 3 4 5 6 | ## Not run:
template <- prepare.IndoUS("100006")
plot.spectrum(template)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.