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
ConstantSphericalDistributionspatial distribution and theLogNormalDistributionluminosity 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
ZPowerSphericalDistributionspatial distribution and theLogNormalDistributionluminosity 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
ZPowerCosmoDistributionspatial distribution and theLogNormalDistributionluminosity 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_adjustmentmethod 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
SFRDistributionspatial distribution and theLogNormalDistributionluminosity 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_adjustmentmethod 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
ConstantSphericalDistributionspatial distribution and theLog10NormalDistributionluminosity 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
ZPowerSphericalDistributionspatial distribution and theLog10NormalDistributionluminosity 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
ZPowerCosmoDistributionspatial distribution and theLog10NormalDistributionluminosity 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_adjustmentmethod 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
SFRDistributionspatial distribution and theLog10NormalDistributionluminosity 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_adjustmentmethod used in cosmo calculations. Default is True.