interpTrk | R Documentation |
Construct a set of interpolated tracks from the objects in the database.
interpTrk(z, y, ml, afe, vmass=seq(0.30,1.10, by=0.05),
baseURL="ftp://cdsarc.u-strasbg.fr/pub/cats/J/A+A/540/A26/")
z |
the initial metallicity of the models to generate. Allowed values
are between |
y |
the initial helium abundance of the models to generate. Allowed
values are between |
ml |
the mixing-length of the model to generate. Allowed values are
between |
afe |
the alpha-enhanchment of the model to get. It can be one of
|
vmass |
vector of masses of the stellar model to generate. Default to the whole set in the database. Allowed values are 0.30, 0.35, 0.40, 0.45, 0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.80, 0.85, 0.90, 0.95, 1.00, 1.05, 1.10. |
baseURL |
the URL of the base directory of the database from where get the models. |
A 3D interpolation is performed on the database to construct the required set of tracks. Interpolation on helium abundance and on mixing-length occur linearly on the variables, while the metallicity is log-transformed before the interpolation procedure.
The function returns an object of class trkset
containing the
interpolated tracks.
### slow!
## Not run:
iptrk <- interpTrk(0.002, 0.25, 1.74, 0)
### get data from local directory /data
iptrk <- interpTrk(0.002, 0.25, 1.74, 0, baseURL="/data/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.