tracts.legacy_models.models_2pop

Functions

outofbounds_pp(params)

outofbounds_pp_fix(params, fracs)

outofbounds_pp_px(params)

outofbounds_pp_px_fix(params, fracs)

pp(*args)

A simple model in which populations EUR and AFR arrive discretely at first generation.

pp_fix(args, fracs)

A simple model in which populations Eu and AFR arrive discretely at first generation.

pp_px(args)

A simple model in which populations EUR and AFR arrive discretely at first generation, and a subsequent migration of EUR occurs at time T2.

pp_px_fix(args, fracs)

propfrommig(mig)

tracts.legacy_models.models_2pop.outofbounds_pp(params)
tracts.legacy_models.models_2pop.outofbounds_pp_fix(params, fracs)
tracts.legacy_models.models_2pop.outofbounds_pp_px(params)
tracts.legacy_models.models_2pop.outofbounds_pp_px_fix(params, fracs)
tracts.legacy_models.models_2pop.pp(*args)

A simple model in which populations EUR and AFR arrive discretely at first generation. If a time is not integer, the migration is divided between neighboring times proportional to the non-integer time fraction. args are (init_Eu, tstart).

tracts.legacy_models.models_2pop.pp_fix(args, fracs)

A simple model in which populations Eu and AFR arrive discretely at first generation. If a time is not integer, the migration is divided between neighboring times proportional to the non-integer time fraction.

tracts.legacy_models.models_2pop.pp_px(args)

A simple model in which populations EUR and AFR arrive discretely at first generation, and a subsequent migration of EUR occurs at time T2. If a time is not integer, the migration is divided between neighboring times proportional to the non-integer time fraction. args = (init_Eu, tstart, t2, nuEu_prop).

tracts.legacy_models.models_2pop.pp_px_fix(args, fracs)
tracts.legacy_models.models_2pop.propfrommig(mig)