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. See ParametrizedDemographySexBiased for the sex-biased counterpart used when allosomes are present.

Classes

ContinuousEvent(start_parameter, ...)

A class representing a continuous migration event, parametrized by start time, end time, and rate.

ParametrizedDemography([name, min_time, ...])

A class representing a demographic history for multiple populations of interest, with parametrized migrations from other populations.

PulseEvent(rate_parameter, time_parameter, ...)

A class representing a pulse migration event, parametrized by time and rate.