Learn R Programming

stellaR (version 0.3-4)

testComposition: Check the existence of a record in the database

Description

Check that the given chemical composition (Z, Y, [alpha/Fe]) and the mixing-length value exist in the stellar database.

Usage

testComposition(Z, Y, ML, AFE)

Arguments

Z

the initial metallicity of the model.

Y

the initial helium abundance of the model.

ML

the mixing-length of the model.

AFE

the alpha-enhanchment of the model. Allowed values are AFE = 0 ([alpha/Fe] = 0.0) or AFE = 1 ([alpha/Fe] = 0.3).

Value

The function returns TRUE if the combination of the inputs exists in the database.

References

M. Dell'Omodarme, G. Valle, S. Degl'Innocenti, and P.G. Prada Moroni (2012). The Pisa Stellar Evolution Data Base for low-mass stars. Astronomy and Astrophysics, 540, A26.

See Also

showComposition.

Examples

Run this code
# NOT RUN {
  testComposition(0.002, 0.25, 1.7, 0)
# }

Run the code above in your browser using DataLab