arsenal_gear.population.StarPopulation¶
- class arsenal_gear.population.StarPopulation(mass: Annotated[Quantity, PhysicalType('mass')], metals: float64, rot: Quantity, PhysicalType({'speed', 'velocity'})], tform: Annotated[Quantity, PhysicalType('time')] = 0)[source]¶
Bases:
dictThis class is used to instantiate populations of individual stars.
- Parameters:
mass (astropy mass unit) – Initial mass of the stars
metals (float) – Metallicity (mass fraction) of the stars
rot (astropy velocity unit) – Stellar rotation
tform (astropy time unit) – Formation time of the stars, defaults to zero