-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stellar evolution tracks with different mass #44
Comments
Hello, Thank you for your interest in SPISEA! Currently, SPISEA is configured to return isochrones (the properties of stars as a function of mass at a single time) rather than evolutionary tracks (the properties of a star at a single mass as a function of time). However, one could construct their own evolutionary track by generating isochrones at the different ages they are interested in, and then identifying the star at the desired mass within each isochrone. To save computation time when making the isochrones, you could consider using the "min_mass" and "max_mass" arguments to the Isochrone class to only generate stars around a certain mass range (whatever you are interested in). This limits the number of stars in each isochrone to only those within this mass range. See the documentation page for the Isochrone class here: https://spisea.readthedocs.io/en/latest/make_isochrone.html. When constructing the Isochrones, SPISEA carries forward the evolutionary stage assignment used in the underlying evolution models (if one is present). The evolutionary stage can be found in the "phase" column of the isochrone. For example, if you select the MIST evolution models, then the phase column has the following designations: -1=PMS, 0=MS, 2=RGB, 3=CHeB, 4=EAGB, 5=TPAGB, 6=postAGB, 9=WR (see http://waps.cfa.harvard.edu/MIST/README_tables.pdf and the MIST papers for details). The only exception to this is stellar remnants. If the user chooses to generate a cluster from an isochrone using an IFMR (see https://spisea.readthedocs.io/en/latest/ifmr.html), then we assign the following phases to compact remnants: 101: White Dwarf Hope this helps! |
Many thanks for the response! |
Hello again, could you tell me why the phase column is 1?
Returns:
|
In your example, the reason why the phase column is "1" for all stars is because the stellar evolution model you selected doesn't offer evolutionary phase information. You used the "MergedBaraffePisaEkstromParsec()" class:
As its name implies, this is a merger of the individual Baraffe, Pisa, Ekstrom, and Parsec evolution models, where the evolution model used depends on on the mass and age of the star in question (see evolution doc page for more info). Because not all of these evolution models report the stellar evolutionary stage, the "phase" column is set to 1 for all stars (e.g., no phase information). If you instead use the MIST evolution models, which do include evolutionary stage information, then the "phase" column will be assigned as I described earlier:
To answer your earlier question: unfortunately, there is currently no direct way to direct the Isochrone Object to generate just one star at a desired mass. But, you can do this indirectly by setting the "min_mass" and "max_mass" to a restricted range to return as few models as possible. It looks like you have already done this in your provided example, in which you set min_mass = 0.95 and max_mass = 1.05 (units = solar masses). A subtle note here, which may or may not be relevant for your project: when SPISEA generates an Isochrone object (as you have done in your posted example), the stellar masses returned in the isochrone are the same set of stellar masses provided in the underlying stellar evolution model. So, the stars in your isochrone between 0.95 - 1.05 Msun are the same models found in the Parsec() evolution models (Parsec is used due to the population age you selected, as described in the MergedBaraffePisaEkstromParsec documentation). The masses of stellar models in this range of parameter space may change if you move to a different evolution model, such as MIST. -Matt |
Good afternoon, I need to get evolutionary tracks of star with different masses using this project, how can I do it?
And is it possible to get the names of evolutionary stages such as "Main Sequence", "Red Giant Branch", etc.?
The text was updated successfully, but these errors were encountered: