Demography#

tracts.demography.base_parametrized_demography

Defines BaseParametrizedDemography, the abstract base class for a parametrized demographic model (a named set of populations, founder/migration events and parameters), together with the founder and migration event base classes it is built from, and FixedParametersHandler for fixing a subset of parameters by value or from observed ancestry proportions.

tracts.demography.parameter

Defines ParamType (the admissible-bounds type of a demographic model parameter: time, rate, sex-bias or untyped) and Parameter/DependentParameter, the individual named parameters that make up a BaseParametrizedDemography.

tracts.demography.parametrized_demography

Defines ParametrizedDemography, a sex-unbiased parametrized demographic model (single migration rate per pulse/continuous event, no separate male/female rates), together with its PulseEvent/ContinuousEvent migration event types.

tracts.demography.parametrized_demography_sex_biased

Defines ParametrizedDemographySexBiased, a demographic model with independent male/female migration rates (used when allosomes are present in the sample), parametrized via a mean rate and a sex-bias parameter per event (see SexType).