Description Usage Arguments Details Value Author(s) See Also
Read in a template spectrum from a fits file and prepare for the kinematic analysis of a galaxy spectrum.
1 2 3 |
config |
name of a file or list containing relevant data on the object on which the kinematic analysis is to be performed |
file |
fits file containing the template spectrum. Filters are allowed as understood by cfitsio |
z.temp |
redshift of the template (mostly 0) |
lambda.lim |
wavelength range to be cut from the spectrum. If
|
dv |
velocity step onto which the template spectrum will be
rebinned if |
contsub |
logical. If TRUE a polynomial fit to the continuum will be subtracted |
contdiv |
logical. If TRUE, the spectrum will be divided by a polynomial fit to the continuum |
order |
order of polynomial fit to the continuum |
smooth.kernel |
numeric. If non-NULL, convolve the spectrum with a
Gaussian with sigma |
log |
logical. If TRUE, the template is resampled on to a
logarithmic wavelength scale with velocity step |
... |
further arguments to be passed to
|
Read in a spectrum from a fits file to be used as the template in the
kinematic analysis of a galaxy spectrum. Optionally, a polynomial fit
to the continuum will be subtracted. If the redshift of the template
is not zero, deredshift the template spectrum. The template spectrum
is by default rebinned onto a logarithmic wavelength grid with
constant velocity step dv
.
a dataframe containing the following components:
lambda |
logarithmic wavelength grid |
name |
name of fits file from which template was read |
value |
value of the spectrum interpolated to the logarithmic wavelength grid |
contsub |
value of the spectrum after continuum subtraction |
Oliver Czoske
prepare.spectrum
, prepare.cube
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.