SunPy is an open-source Python library for solar physics data analysis.
To begin, install the following requirements:
- [Python](Python (2.6+)
- Astropy (0.3.0)
- NumPy
- SciPy
- Matplotlib (1.1+)
- Suds
- pandas (0.10.0+)
- beautifulsoup4
- sqlalchemy
Next, use git to grab the latest version of SunPy:
git clone https://github.com/sunpy/sunpy.git
cd sunpy
python setup.py install
Done!
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.Map(sunpy.AIA_171_IMAGE)
>>> aia.peek(cmap=cm.hot)
For more information or to ask questions about SunPy, check out:
- SunPy Documentation
- SunPy Mailing List
- IRC: #sunpy on freenode.net
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.