tracts.core#

Functions

optimize(p0, bins, Ls, data, nsamp, model_func)

Optimizes model parameters using the BFGS method.

optimize_bfgs(p0, bins, Ls, data, nsamp, ...)

Optimizes model parameters using the BFGS method.

optimize_brute_fracs2(bins, Ls, data, nsamp, ...)

Optimize parameters to fit the model to data using the brute-force method.

optimize_brute_multifracs(bins, Ls, ...[, ...])

Optimizes parameters to fit the model to data using the brute-force method.

optimize_cob(p0, bins, Ls, data, nsamp, ...)

Optimizes model parameters using the COBYLA method.

optimize_cob_fracs(p0, bins, Ls, data, ...)

Optimizes parameters to fit the model to data using the COBYLA method.

optimize_cob_fracs2(p0, bins, Ls, data, ...)

Optimize parameters to fit the model to data using the COBYLA method.

optimize_cob_multifracs(p0, bins, Ls, ...[, ...])

Optimizes parameters to fit the model to data using the COBYLA method.

optimize_cob_sex_biased(p0, population, ...)

Optimizes log-likelihood over the set of parameters specified in the demographic model, for a given admixture model for autosomes and allosomes.

optimize_cob_sex_biased_fixed_values(p0, ...)

Optimizes log-likelihood over the set of parameters specified in the demographic model, for a given admixture model for autosomes and allosomes.

optimize_slsqp(p0, bins, Ls, data, nsamp, ...)

Optimizes model parameters using the SLSQ method.

plotmig(mig[, colordict, order])

rate_to_optimizer_function(x)

rate_to_physical_function(x)

sex_bias_to_optimizer_function(y)

sex_bias_to_physical_function(x)

time_to_optimizer_function(x)

time_to_physical_function(x)