arsenal_gear.dist_funcs.binaries

binaries

This submodule contains all the code required to sample from mass-dependent a binary fraction and distributions of orbital parameters.

Classes

BinaryDistribution(model, m_inner, bpass_dir)

This class is the superclass of all distributions of binary properties in which the binary fraction and distributions of orbtial periods and mass ratios are not independent.

Fraction(fraction, mass_bins, stars[, name])

This class is the superclass of all mass-dependent binary fraction This assumes that the binary fraction is a step function

LogUniformPeriod(min_p, max_p[, name])

A simple step function distribution of semi-major axes, with a log-uniform distribution above and below the changeover semi-major axis

LogUniformSemimajor(min_a, max_a[, name])

A simple step function distribution of semi-major axes, with a log-uniform distribution above and below the changeover semi-major axis

MassRatio(min_q, max_q[, name])

This class is the superclass of all mass ratio distributions TODO (CCC, 04/02/2025): q is currently independent of M1 and a

Period(min_p, max_p[, name])

This class is the superclass of all orbital period distributions

Semimajor(min_a, max_a[, name])

This class is the superclass of all semi-major axis distributions

StepFraction(fraction, mass_bins, stars)

A simple step function binary fraction, with a binary fraction of 0 below the changeover mass and 1 above the changeover mass

UniformMassRatio(min_q, max_q[, name])

A simple loguniform distribution of semi-major axes with lower and upper bounds