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. Subclassed by
ParametrizedDemography and
ParametrizedDemographySexBiased.
Functions
|
approaches 0 if x<0, 1 if x>1, approx linear in between |
|
Classes
|
Base class for founder events. |
|
Base class for migration events. |
|
Base class for parametrized demographies. |
|
A class that handles the fixing of parameters based on ancestry proportions. |
|
A class that sets up a founder event. |