astro.stars - EranOfek/AstroPack GitHub Wiki
Description
The astro.stars package contains functions related to stellar classification and photospheric parameters
Functions
- astro.stars.ang_radius_from_color - Estimate angular radius and color temperature from a set of magnitudes
- astro.stars.ang_radius_from_temp - Calculate the angular size of a star given its mag, extinction and temp
- astro.stars.equipot - Calculate the gravitational potential of a binary star on a grid
- astro.stars.star_ang_rad - Calculate empirical angular radii of stars from magnitude and colors
- astro.stars.star_sptype_color - Spectral type to color
- astro.stars.stellar_imf - The stellar initial mass function
- astro.stars.stellar_tracks - Geneva stellar tracks as a function of time
- astro.stars.tlogg2picklesClass - spectral class and luminosity class to be used with AstroSpec.specStarsPickles
Selected examples:
Given a star's effective temperature and log(g), model its spectrum with a closest match from the Pickles' library:
Teff = 6e3; LogG = 4.6; % parameters of a star
R = astro.stars.tlogg2picklesClass(Teff,LogG);
Spec = AstroSpec.specStarsPickles(R.class,R.lumclass);