The IMF package: a toolkit implementing mass functions and statistical tools to analyze them
Abstract
Mass functions are used in all areas of astrophysics. The stellar initial mass function (IMF), in particular, plays a central role in modeling stellar populations in galaxies. However, few dedicated tools for working directly with the IMF and its precursor functions are widely available. We present the package, a Python library integrated into the wider scientific Python ecosystem that implements common and variant forms of mass functions, especially the IMF and its pre- and protostellar equivalents, as probability distribution functions based on SciPy's statistics architecture. This package enables the performance of operations such as sampling and integration on a wide array of highly customizable mass functions. is publicly available on the Python package index under the project name \texttt{initial_mass_function}.
Create a lesson
Metadata
- Categories
- astro-ph.IM, astro-ph.GA, astro-ph.HE, astro-ph.SR
- Comments
- 18 pages, 8 figures, 2 tables. Includes appendix: 3 pages, 1 figure. To be published in AJ. imf is accessible on pypi at https://pypi.org/project/initial-mass-function and has a GitHub repository at https://github.com/keflavich/imf
Related papers
PHOTO-CAT - Photometric Contamination Analyzer Tool: A High-Performance Framework for Photometric Contamination Assessment
Shared title terminologyastro-ph.IMG. Galletta, F. Favata, L. Bradley et al.
Superfit: A Supernova Spectral Classification Tool with Host-Galaxy Decomposition
Shared title terminologyastro-ph.IMD. Andrew Howell, Alyona Kosobokova, Samantha Goldwasser et al.
MAASAI: A Tool-Augmented Multi-Agent System for Astronomical Data Analysis
Shared title terminologyastro-ph.IMS. Riggi, A. Ingallinera, C. Bordiu et al.
Mass-conservative voxelisation of smoothed particles using cumulative kernels
Shared title terminologyastro-ph.IMMaarten Baes, Peter Camps, Kosei Matsumoto et al.
bihalofit-JAX: A Differentiable Code for the Nonlinear Matter Bispectrum and its Projected Statistics
Shared title terminologyastro-ph.IMAlexander Roskill, Matteo Zennaro
Euclid Data Release 1 (DR1). AstroVink-TREX: Automated strong gravitational lens segmentation as input for mass modelling pipelines
Shared title terminologyastro-ph.IMEuclid Collaboration, S. H. Vincken, N. E. P. Lines et al.