Description Usage Arguments Details Value Author(s) References See Also
This function convolves a stellar template spectrum with a Gaussian or Gauss-Hermite LOSVD and adjusts the continuum with additive and a multiplicative polynomial corrections to match a galaxy spectrum.
1 2 | build.model(x, y, p, LOSVD=c("gauss", "gh", "gauss-hermite", "shift"),
o.mult = 4, o.add = 6, p.mult=NULL, p.add=NULL)
|
x |
an object of class |
y |
an object of class |
p |
a four-component |
LOSVD |
Shape of the LOSVD to be fit to the spectrum. Defaults to Gaussian but can also be set to a Gauss-Hermite series, to order 4. |
o.mult |
order of polynomial multiplying the convolved template spectrum |
o.add |
order of polynomial added to the convolved template spectrum |
p.mult, p.add |
polynomials over |
The resulting model spectrum is resampled to the galaxy vector,
y$lambda
. The coefficients of the multiplicative and additive
polynomials are determined from a linear fit of the model spectrum to
the galaxy spectrum for fixed parameters p
.
The model will typically be used by merit.function
to
compute the goodness of fit for the given kinematic parameters.
an object of class kinfit
(inheriting from spectrum
)
with the convolved and continuum adjusted model spectrum resampled to
the wavelength vector of the galaxy spectrum, the residuals, and all
the parameters going into building the model
Oliver Czoske
D. Kelson et al. 2000, ApJ 531, 159
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.