arsenal_gear.population.StarPopulation

class arsenal_gear.population.StarPopulation(mass: Annotated[Quantity, PhysicalType('mass')], metals: float64, tform: Annotated[Quantity, PhysicalType('time')] = 0)[source]

Bases: dict

This 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

  • tform (astropy time unit) – Formation time of the stars, defaults to zero