tracts.demography.base_parametrized_demography#

Functions

smooth_clip01(x[, beta])

approaches 0 if x<0, 1 if x>1, approx linear in between

softplus(x[, beta])

Classes

BaseFounderEvent(found_time, ...[, ...])

Base class for founder events.

BaseMigrationEvent(rate_parameter, ...)

Base class for migration events.

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

Base class for parametrized demographies.

FixedParametersHandler(logger)

A class that handles the fixing of parameters based on ancestry proportions.

FounderEvent(found_time, source_populations, ...)

A class that sets up a founder event.