Description Usage Arguments Details Value Author(s) See Also
This function determines velocity and velocity dispersion of a galaxy
by optimizing over a merit.function
given by convolving
a stellar template spectrum and comparing to the galaxy spectrum in
the least squares sense. The line profile can be parameterized as
Gaussian or a Gauss-Hermite series of order 4.
1 2 3 4 5 6 |
galaxy |
an object of class |
template |
an object of class |
p0 |
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. |
noise |
an object of class |
lambda |
a two-component |
errors |
Number of Monte Carlo simulations that will be performed to give an estimate of the error distribution; defaults to zero |
mask |
Normally, the mask used in the fit is included in the
spectrum |
SN.lim |
Only galaxy spectra which have signal-to-noise larger than this value will be analysed; defaults to zero, i.e. all spectra will be analysed. |
niter |
number of iterations in the sigma-clipping |
nsig |
data points with residuals larger than |
verbose |
|
plot |
|
plot.errors |
|
simple |
|
o.mult |
order of polynomial multiplying the convolved template spectrum |
o.add |
order of polynomial added to the convolved template spectrum |
... |
Further parameters to be passed to
|
Plotting the errors does not work yet, rewrite of gof.contours
is required.
An object of class kinfit
. This is the original spectrum with
added parameters describing the fit and its results.
Of particular importance are the first and second velocity moments,
v1
and v2
, computed by integrating over the best-fit
LOSVD.
If errors
is larger than zero, the list includes summaries of
the error distribution:
dv1.low, dv1.high, dv2.low, dv2.high |
68% confidence levels for the first and second velocity moments |
dv.low, dv.high |
68% confidence limits for velocity |
dsig.low, dsig.high |
68% confidence limits for velocity dispersion |
v1.err, v2.err, v.err, sig.err, gof.err, h3.err,
h4.err |
velocities, velocity dispersions and corresponding
|
Oliver Czoske
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.