SunPy is an open-source Python library for solar physics data analysis.
To begin, install the following requirements:
Next, use git to grab the latest version of SunPy:
git clone https://github.com/sunpy/sunpy.git cd sunpy python setup.py install
For detailed installation instructions, see the installation guide in the SunPy docs.
Here is a quick example of plotting an AIA image:
>>> import sunpy >>> import matplotlib.cm as cm >>> aia = sunpy.make_map(sunpy.AIA_171_IMAGE) >>> aia.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.