errorObsBin: Perturbe a set of observational data

Description Usage Arguments Details Value

View source: R/SCEPtERbinary.R

Description

The function returns a perturbed object, starting from observational data and a vector of uncertainties.

Usage

1
2
    errorObsBin(sigma, STAR, parallel=FALSE, corr=c(0,0,0,0,0,0,0))
     

Arguments

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).

Details

The vector of observations STAR must contain, in the order:

  1. The effective temperature (in K) of the star.

  2. The logarithm of the surface gravity of the star (in cm s^-2).

  3. The metallicity [Fe/H] of the star.

  4. The value of large frequency separation of the star, divided by the solar value of this quantity.

  5. The value of the frequency of maximum oscillation power of the star, divided by the solar value of this quantity.

  6. The mass (in solar units) of the star.

  7. 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.

Value

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.


SCEPtERbinary documentation built on May 2, 2019, 9:24 a.m.