popsynth.populations.bpl_population module

class popsynth.populations.bpl_population.BPLHomogeneousSphericalPopulation(Lambda: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234)[source]

Bases: SphericalPopulation

__init__(Lambda: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234)[source]

A population built on the ConstantSphericalDistribution spatial distribution and the BPLDistribution luminosity distribution.

Parameters
  • Lambda (float) – Density per unit volume

  • Lmin (float) – Minimum value of the luminosity

  • alpha (float) – Lower luminosity index

  • Lbreak (float) – Break luminosity

  • beta (float) – Upper luminosity index

  • Lmax (float) – Maximum value of the luminosity

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.bpl_population.BPLZPowerSphericalPopulation(Lambda: float, delta: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234)[source]

Bases: ZPowerSphericalPopulation

__init__(Lambda: float, delta: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234)[source]

A population built on the ZPowerSphericalDistribution spatial distribution and the BPLDistribution luminosity distribution.

Parameters
  • Lambda (float) – Density per unit volume

  • delta (float) – Index of spatial distribution

  • Lmin (float) – Minimum value of the luminosity

  • alpha (float) – Lower luminosity index

  • Lbreak (float) – Break luminosity

  • beta (float) – Upper luminosity index

  • Lmax (float) – Maximum value of the luminosity

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.bpl_population.BPLZPowerCosmoPopulation(Lambda: float, delta: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

Bases: ZPowerCosmoPopulation

__init__(Lambda: float, delta: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

A population built on the ZPowerCosmoDistribution spatial distribution and the BPLDistribution luminosity distribution.

Parameters
  • Lambda (float) – Density in Gpc^-3

  • delta (float) – Index of spatial distribution

  • Lmin (float) – Minimum value of the luminosity

  • alpha (float) – Lower luminosity index

  • Lbreak (float) – Break luminosity

  • beta (float) – Upper luminosity index

  • Lmax (float) – Maximum value of the luminosity

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.bpl_population.BPLSFRPopulation(r0: float, a: float, rise: float, decay: float, peak: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

Bases: SFRPopulation

__init__(r0: float, a: float, rise: float, decay: float, peak: float, Lmin: float, alpha: float, Lbreak: float, beta: float, Lmax: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

A population built on the SFRDistribution spatial distribution and the BPLDistribution luminosity distribution.

Parameters
  • r0 (float) – Local density in units of Gpc^-3

  • a (float) – Offset at z=0

  • rise (float) – Rise at low z

  • decay (float) – Decay at high z

  • peak (float) – Peak of z distribution

  • Lmin (float) – Minimum value of the luminosity

  • alpha (float) – Lower luminosity index

  • Lbreak (float) – Break luminosity

  • beta (float) – Upper luminosity index

  • Lmax (float) – Maximum value of the luminosity

  • r_max (float) – Maximum redshift

  • seed (int) – Random seed