English

Sherpa: An Open Source Python Fitting Package

Instrumentation and Methods for Astrophysics 2024-09-17 v1 High Energy Astrophysical Phenomena

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. The code is available GitHub: https://github.com/sherpa/sherpa

Keywords

Cite

@article{arxiv.2409.10400,
  title  = {Sherpa: An Open Source Python Fitting Package},
  author = {Aneta Siemiginowska and Douglas Burke and Hans Moritz Günther and Nicholas P. Lee and Warren McLaughlin and David A. Principe and Harlan Cheer and Antonella Fruscione and Omar Laurino and Jonathan McDowell and Marie Terrell},
  journal= {arXiv preprint arXiv:2409.10400},
  year   = {2024}
}

Comments

accepted by the Astrophysical Journal Supplement Series, 12 pages, 11 figures