I've put together a simple IPython notebook showing off the new standalone Sherpa build. The notebook runs through a simple polynomial fit and is based on the "Introduction to NumPy/SciPy" course from the Practical Python for Astronomers site.
It highlights
- using the Sherpa standalone package along with other Python packages (astropy, matplotlib, numpy)
- how to use the "high-level" API (as described in the CIAO documentation), which provides data management in a manner similar to the Xspec spectral fitting package
- how to use the "low-level" API, which is unfortunately poorly documented as this time
Mentioning a next time, hopefully I'll have time to add more notebooks soon; check at the notebook viewer page to see if any have been added, or go to the GitHub page for this project. If you'd like to see any topic covered, please mention it in the comments.
No comments:
Post a Comment