Astronomy and Astrophysics – Astronomy
Scientific paper
Oct 2007
adsabs.harvard.edu/cgi-bin/nph-data_query?bibcode=2007aspc..376..543d&link_type=abstract
Astronomical Data Analysis Software and Systems XVI ASP Conference Series, Vol. 376, proceedings of the conference held 15-18 Oc
Astronomy and Astrophysics
Astronomy
4
Scientific paper
Sherpa is the general purpose fitting and modeling application for CIAO, the Chandra Interactive Analysis of Observations system. We have modified the original design and implemented a new version in Python. This version will be part of the upcoming CIAO4.0 release. We have previously presented a modular, flexible design for CIAO4.0 with the goal of packaging many models, fitting methods and statistics for analysis of astronomical data. The new design promised to be more robust than the previous Sherpa, and more easily extensible with user-written scripts. (We already see some sign of this, in that there were 50,000 lines of code in the CIAO3.0 implementation; with our new, cleaner design, implemented in Python, only half that number of lines were required.) We present the latest updates to our design, and our progress developing Sherpa. A major feature of this work has been the use of Python to implement the data structures from our design. Each part of Sherpa---models, fitting methods, statistics, and so on---has been implemented as a Python module. We have also developed application code to bind together data, models, statistics, and fitting methods for performing fits to data, as well as a high-level UI that makes it simple for users to read in data, define models, and perform fits. Working in Python has been a great aid in speeding development of Sherpa. We expect that Python will also simplify extending and maintaining the Sherpa code base, as well as making it possible to interoperate with other Python-based astronomy packages. To make Sherpa fully accessible to S--Lang users, we use PySL, a new package that is an interface between Python and S--Lang. Users are now able to import other Python or S--Lang modules to extend Sherpa; in addition, users may write and use scripts of their own, written in either Python or S--Lang.
Burke Daniel
Doe Stephen
Evans Ian
Evans Justin
Houck John
No associations
LandOfFree
Developing Sherpa with Python does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Developing Sherpa with Python, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Developing Sherpa with Python will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-955993