SunPy is an open-source Python library for solar physics data analysis.
To begin, installing the following requirements if you don't already have them:
Next, use git to grab the latest version of SunPy:
git clone git://github.com/sunpy/sunpy.git
Done! In order to enable SunPy to be imported from any location you must make sure that the library is somewhere in your PYTHONPATH environmental variable. For now the easiest thing is to simply start Python from the directory you just downloaded. (TODO: Include setup.py in github)
Here is a quick example of plotting an AIA image:
>>> import sunpy >>> import matplotlib.cm as cm >>> m = sunpy.make_map(sunpy.AIA_171_IMAGE) >>> m.show(cmap=cm.hot)
For more information or to ask questions about SunPy, check out:
If you would like to get involved, start by joining the SunPy mailing list and check out the Developer's Guide section of the SunPy docs. Stop by our IRC chat room named #sunpy on irc.freenode.net if you have any questions. Help is always welcome so let us know what you like to work on, or check out the issues page for a list of some known outstanding items.