arsenal_gear.dist_funcs.imf.IMF¶
- class arsenal_gear.dist_funcs.imf.IMF(min_mass: Annotated[Quantity, PhysicalType('mass')], max_mass: Annotated[Quantity, PhysicalType('mass')], name='', seed=None)[source]¶
Bases:
rv_continuousThis class is the superclass of all Initial Mass Functions (IMFs)
- Parameters:
min_mass (astropy mass unit) – Least massive star in the IMF
max_mass (astropy mass unit) – Most massive star in the IMF
name (str) – Name for the scipy.stats rv_continuous instance
seed (None, int, numpy.random.Generator, or numpy.random.RandomState) – Random seed for sampling