arsenal_gear.dist_funcs.binaries.StepFraction¶
- class arsenal_gear.dist_funcs.binaries.StepFraction(fraction: float, mass_bins: Annotated[Quantity, PhysicalType('mass')], stars: StarPopulation)[source]¶
Bases:
FractionA simple step function binary fraction, with a binary fraction of 0 below the changeover mass and 1 above the changeover mass
- Parameters:
mass (astropy mass unit) – Changeover mass between binary fractions of 0 and 1