stellar_mass function in galaxies module #536
Replies: 3 comments 5 replies
|
Agreed with this proposal. Note: the stellar_mass() function docstring should explicitly explain that is defaulting to "remain". |
|
To clarify, as implemented, the I agree that |
|
Slight wrinkle in the proposed approach: But I think even with clear docs, there's still potential for user error. Also, if we want to include different SED sets, it's not clear that the normalisation will always be conveniently one solar mass (though we can pre-scale them). It would be a significant change to remove the dependence though. |
Uh oh!
There was an error while loading. Please reload this page.
In the k-correct templates we have the mass in stars formed, and the mass remaining (after mass loss due to stellar winds, SNe etc.).
We're preparing a PR to allow use of stellar mass remaining. Current behaviour is that the function, stellar_mass(), refers to stellar mass formed. IMO, the default should be to return the remaining stellar mass.
Proposal:
We have two functions,
stellar_mass_formed()
stellar_mass_remain()
Then the function,
stellar_mass()
simply calls stellar_mass_remain()
All reactions