popsynth.populations.lognormal_population module

class popsynth.populations.lognormal_population.LogNormalHomogeneousSphericalPopulation(Lambda: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

Bases: SphericalPopulation

__init__(Lambda: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

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

Parameters
  • Lambda (float) – Density per unit volume

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.lognormal_population.LogNormalZPowerSphericalPopulation(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

Bases: ZPowerSphericalPopulation

__init__(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

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

Parameters
  • Lambda (float) – Density per unit volume

  • delta (float) – Index of the spatial distribution

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.lognormal_population.LogNormalZPowerCosmoPopulation(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

Bases: ZPowerCosmoPopulation

__init__(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

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

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

  • delta (float) – Index of the spatial distribution

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum redshift

  • seed (int) – Random seed

  • is_rate (bool) – True if modelling a population of transient events, False if modelling a population of steady-state objects. Affects the time_adjustment method used in cosmo calculations. Default is True.

class popsynth.populations.lognormal_population.LogNormalSFRPopulation(r0: float, a: float, rise: float, decay: float, peak: float, mu: float, tau: 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, mu: float, tau: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

A population built on the SFRDistribution spatial distribution and the LogNormalDistribution 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

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum redshift

  • seed (int) – Random seed

  • is_rate (bool) – True if modelling a population of transient events, False if modelling a population of steady-state objects. Affects the time_adjustment method used in cosmo calculations. Default is True.

class popsynth.populations.lognormal_population.Log10NormalHomogeneousSphericalPopulation(Lambda: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

Bases: SphericalPopulation

__init__(Lambda: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

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

Parameters
  • Lambda (float) – Density per unit volume

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.lognormal_population.Log10NormalZPowerSphericalPopulation(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

Bases: ZPowerSphericalPopulation

__init__(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: int = 1234)[source]

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

Parameters
  • Lambda (float) – Density per unit volume

  • delta (float) – Index of the spatial distribution

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum distance

  • seed (int) – Random seed

class popsynth.populations.lognormal_population.Log10NormalZPowerCosmoPopulation(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: float = 1234, is_rate: float = True)[source]

Bases: ZPowerCosmoPopulation

__init__(Lambda: float, delta: float, mu: float, tau: float, r_max: float = 5, seed: float = 1234, is_rate: float = True)[source]

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

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

  • delta (float) – Index of the spatial distribution

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum redshift

  • seed (int) – Random seed

  • is_rate (bool) – True if modelling a population of transient events, False if modelling a population of steady-state objects. Affects the time_adjustment method used in cosmo calculations. Default is True.

class popsynth.populations.lognormal_population.Log10NormalSFRPopulation(r0: float, a: float, rise: float, decay: float, peak: float, mu: float, tau: 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, mu: float, tau: float, r_max: float = 5, seed: int = 1234, is_rate: bool = True)[source]

A population built on the SFRDistribution spatial distribution and the Log10NormalDistribution 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

  • mu (float) – Mean of the luminosity distribution

  • tau (float) – Standard deviation of the luminosity distribution

  • r_max (float) – Maximum redshift

  • seed (int) – Random seed

  • is_rate (bool) – True if modelling a population of transient events, False if modelling a population of steady-state objects. Affects the time_adjustment method used in cosmo calculations. Default is True.