The Astrophysical Journal Supplement Series (Jan 2024)
Sherpa: An Open-source Python Fitting Package
Abstract
We present an overview of Sherpa, an open-source Python project, and discuss its development history, broad design concepts, and capabilities. Sherpa contains powerful tools for combining parametric models into complex expressions that can be fit to data using a variety of statistics and optimization methods. It is easily extensible to include user-defined models, statistics, and optimization methods. It provides a high-level user interface for interactive data analysis, such as within a Jupyter notebook, and it can also be used as a library component, providing fitting and modeling capabilities to an application. We include a few examples of Sherpa applications to multiwavelength astronomical data.
Keywords