Description Usage Arguments Details Value
View source: R/SCEPtERbinary.R
The function returns a perturbed object, starting from observational data and a vector of uncertainties.
1 2 | errorObsBin(sigma, STAR, parallel=FALSE, corr=c(0,0,0,0,0,0,0))
|
sigma |
a vector of 14 elements containing the uncertainties on observational data. The error on mass and radius must be expressed as relative error. If the errors on the observations of the two stars are identical, it is possible to provide a vector of length 7. |
STAR |
a vector of 18 elements containing the observational data. |
parallel |
logical flag specifying if the computation should be performed in parallel on a multi-core architecture. |
corr |
a vector with the assumed the correlation between corresponding observables of the two stars. Default to zero (no correlations). |
The vector of observations STAR
must contain, in the order:
The effective temperature (in K) of the star.
The logarithm of the surface gravity of the star (in cm s^-2).
The metallicity [Fe/H] of the star.
The value of large frequency separation of the star, divided by the solar value of this quantity.
The value of the frequency of maximum oscillation power of the star, divided by the solar value of this quantity.
The mass (in solar units) of the star.
The radius (in solar unit) of the star.
The vector of the uncertainties on the observation sigma
must
contain the uncertainty on the above quantity. The
uncertainty on the asteroseismic parameters, mass, and radius
must be expressed as relative error.
errorObsBin
returns an object obtained sampling from a
multivariate normal distribution with vector of mean STAR
and
covariance matrix computed
according to the value of corr
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.