SMU-clusters / ssptools

MIT License
2 stars 0 forks source link

Feature/imfs #10

Open nmdickson opened 3 months ago

nmdickson commented 3 months ago

Separates all initial mass function logic into an independent, and more fully-featured, IMF class. This class allows for working with and examining a N-component power-law IMF separate from all Evolved MF or mass bin logic.

All main MF classes are changed to, by default, initialize using this IMF class, and therefore this branch is not entirely backwards compatible, though the exact same old logic can be recreated using the new from_powerlaw constructor method.