arsenal_gear.dist_funcs.binaries.Fraction¶
- class arsenal_gear.dist_funcs.binaries.Fraction(fraction: float, mass_bins: Annotated[Quantity, PhysicalType('mass')], stars: StarPopulation, name='')[source]¶
Bases:
objectThis class is the superclass of all mass-dependent binary fraction This assumes that the binary fraction is a step function
- Parameters:
fraction (float) – Binary fraction of the mass bins, of length k
mass_bins (astropy mass unit) – Limit of the mass bins, of length k-1
stars (StarPopulation) – Potential primaries
name (str) – Name of the binary fraction function