momi

momi (MOran Models for Inference) is a Python package that computes the expected sample frequency spectrum (SFS), a statistic commonly used in population genetics, and uses it to fit demographic history.

See the documentation for installation instructions, tutorial, and API reference.

The paper describing the method is:

Efficiently inferring the demographic history of many populations with allele count data. Kamm, J., Terhorst, J., Durbin, R., and Song, Y.S. Journal of the American Statistical Association (2019). (link)