All Projects → sherpa → sherpa

sherpa / sherpa

Licence: GPL-3.0 license
Fit models to your data in Python with Sherpa.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to sherpa

Astronn
Deep Learning for Astronomers with Tensorflow
Stars: ✭ 125 (+0%)
Mutual labels:  science, astronomy
kepler orrery
Make a Kepler orrery gif or movie of all the Kepler multi-planet systems
Stars: ✭ 91 (-27.2%)
Mutual labels:  science, astronomy
Astropy
Repository for the Astropy core package
Stars: ✭ 2,933 (+2246.4%)
Mutual labels:  science, astronomy
Gitscience
A curated list of science- and engineering related repositories on GitHub and in neighboring counties
Stars: ✭ 8 (-93.6%)
Mutual labels:  science, astronomy
Astropy Tutorials
Tutorials for the Astropy Project
Stars: ✭ 174 (+39.2%)
Mutual labels:  science, astronomy
Stellarium
Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
Stars: ✭ 3,010 (+2308%)
Mutual labels:  science, astronomy
curvit
Create light curves from UVIT data.
Stars: ✭ 14 (-88.8%)
Mutual labels:  science, astronomy
OpenSkyStacker
Multi-platform stacker for deep-sky astrophotography.
Stars: ✭ 80 (-36%)
Mutual labels:  science
ephemeris-compute-de405
A command-line tool for producing tables of the positions of solar system objects over time.
Stars: ✭ 14 (-88.8%)
Mutual labels:  astronomy
events
Materials related to events I might attend, and to talks I am giving
Stars: ✭ 22 (-82.4%)
Mutual labels:  science
cas
Cellular Automata Simulator
Stars: ✭ 22 (-82.4%)
Mutual labels:  science
marvin
Data access and visualization for MaNGA. http://sdss-marvin.readthedocs.io/en/latest/
Stars: ✭ 48 (-61.6%)
Mutual labels:  astronomy
pyuvdata
A pythonic interface for radio astronomy interferometry data (uvfits, miriad, others)
Stars: ✭ 62 (-50.4%)
Mutual labels:  astronomy
msk-STAPLE
STAPLE (Shared Tools for Automatic Personalised Lower Extremity modelling) consists of a collection of methods for generating skeletal models from three-dimensional bone geometries, usually segmented from medical images. The methods are currently being expanded to create complete musculoskeletal models.
Stars: ✭ 39 (-68.8%)
Mutual labels:  science
GooFit
Code repository for the massively-parallel framework for maximum-likelihood fits, implemented in CUDA/OpenMP
Stars: ✭ 112 (-10.4%)
Mutual labels:  fitting
cosore
Data, metadata, and software tools for the COSORE database of continuous soil respiration measurements
Stars: ✭ 25 (-80%)
Mutual labels:  science
NICERsoft
Analysis software for the NICER mission
Stars: ✭ 12 (-90.4%)
Mutual labels:  astronomy
phantom-config
Parse, convert, modify, and generate Phantom config files.
Stars: ✭ 12 (-90.4%)
Mutual labels:  astronomy
kfs
Keras for Science
Stars: ✭ 69 (-44.8%)
Mutual labels:  science
PyChemia
Python Materials Discovery Framework
Stars: ✭ 59 (-52.8%)
Mutual labels:  science

Build Status: Conda Build Status: Pip Documentation Status DOI GPLv3+ License Python version

Table of Contents

Sherpa

Sherpa is a modeling and fitting application for Python. It contains a powerful language for combining simple models into complex expressions that can be fit to the data using a variety of statistics and optimization methods. It is easily extensible to include user models, statistics, and optimization methods. It provides a high-level User Interface for interactive data-analysis work, such as within a Jupyter notebook, and it can also be used as a library component, providing fitting and modeling capabilities to an application.

What can you do with Sherpa?

  • fit 1D (multiple) data including: spectra, surface brightness profiles, light curves, general ASCII arrays
  • fit 2D images/surfaces in Poisson/Gaussian regime
  • build complex model expressions
  • import and use your own models
  • use appropriate statistics for modeling Poisson or Gaussian data
  • import new statistics, with priors if required by analysis
  • visualize the parameter space with simulations or using 1D/2D cuts of the parameter space
  • calculate confidence levels on the best fit model parameters
  • choose a robust optimization method for the fit: Levenberg-Marquardt, Nelder-Mead Simplex or Monte Carlo/Differential Evolution.

Documentation for Sherpa is available at Read The Docs and also for Sherpa in CIAO.

A Quick Start Tutorial is included in the notebooks folder and can be opened with an ipython notebook.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. A copy of the GNU General Public License can be found in the LICENSE file provided with the source code, or from the Free Software Foundation.

How To Install Sherpa

Full installation instructions are part of the Read The Docs documentation, and should be read if the following is not sufficient.

It is strongly recommended that some form of virtual environment is used with Sherpa.

Sherpa is tested against Python versions 3.7, 3.8, 3.9, and (as a beta) 3.10.

The last version of Sherpa which supported Python 2.7 is Sherpa 4.11.1.

Using Anaconda

Sherpa is provided for both Linux and macOS operating systems running Python 3.7 to 3.10. It can be installed with the conda package manager by saying

$ conda install -c sherpa sherpa

Using pip

Sherpa is also available on PyPI and so can be installed with the following command (which requires that the NumPy package is already installed).

% pip install sherpa

Building from source

Source installation is available for platforms incompatible with the binary builds, or for when the default build options are not sufficient (such as including support for the XSPEC model library). The steps are described in the building from source documentation.

History

Sherpa is developed by the Chandra X-ray Observatory to provide fitting and modelling capabilities to the CIAO analysis package. It has been released onto GitHub for users to extend (whether to other areas of Astronomy or in other domains).

Release History

4.14.1: 20 May 2022 DOI

4.14.0: 07 October 2021 DOI

4.13.1: 18 May 2021 DOI

4.13.0: 08 January 2021 DOI

4.12.2: 27 October 2020 DOI

4.12.1: 14 July 2020 DOI

4.12.0: 30 January 2020 DOI

4.11.1: 1 August 2019 DOI

4.11.0: 20 February 2019 DOI

4.10.2: 14 December 2018 DOI

4.10.1: 16 October 2018 DOI

4.10.0: 11 May 2018 DOI

4.9.1: 01 August 2017 DOI

4.9.0: 27 January 2017 DOI

4.8.2: 23 September 2016 DOI

4.8.1: 15 April 2016 DOI

4.8.0: 27 January 2016 DOI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].