Skip to content
SunPy - Python for Solar Physics http://www.sunpy.org
Python C Other
Latest commit 768417a @Cadair Cadair Merge pull request #1642 from Cadair/rtd-conda
Change ReadTheDocs to use conda and not fail
Failed to load latest commit information.
astropy_helpers @ fedd7c5 update astropy_helpers to 1.1.1
continuous-integration ignore figure tests under python 3
doc Merge remote-tracking branch 'upstream/master' into rtd-conda
licenses Include local copy of six
requirements oops
sunpy Merge pull request #1642 from Cadair/rtd-conda
tools Rename doc/_build to doc/build
.coveragerc add sunpy/version.py to the coverage exclusion as it is auto-generated
.coveralls.yml Tweak coveralls
.editorconfig Added editorconfig file to standarise the style over different editors
.gitattributes union merge for python3.sh
.gitignore Rename doc/_build to doc/build
.gitmodules Update astropy_helpers submodule to 0.4.2
.mailmap update the mailmap
.rtd-environment.yml add back glymur... oops
.travis.yml remove the numpy 1.9 build
CHANGELOG.md Merge branch 'master' of github.com:sunpy/sunpy into HEAD
CONTRIBUTING.md Update CONTRIBUTING.md
INSTALL.txt fix for issue #623
MANIFEST.in Some improvements of handling of the hash library
README.md Added a new badge about the use and citations of
RELEASE.md update the release file, authors and commit count
ah_bootstrap.py update astropy_helpers to v1.0.5
appveyor.yml add wcsaxes to the appveyor build
ez_setup.py First attempt at using astropy_helpers
pytest.ini Force the numpy version in all things
readthedocs.yml remove glymur (no openjpeg)
setup.cfg Rename doc/_build to doc/build
setup.py update testing for astropy_helpers 1.1.1
tox.ini added sqlalchemy dependency

README.md

SunPy

Downloads Latest Version Build StatusBuild statusCoverage Status Code Health Code Issues

SunPy is an open-source Python library for solar physics data analysis.

Research software impact

Installation

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

Done!

For detailed installation instructions, see the installation guide in the SunPy docs.

Usage

Here is a quick example of plotting an AIA image:

>>> import sunpy.map
>>> import sunpy.data.sample
>>> import matplotlib.cm as cm
>>> aia = sunpy.map.Map(sunpy.data.sample.AIA_171_IMAGE)
>>> aia.peek()

Getting Help

For more information or to ask questions about SunPy, check out:

Contributing

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.

Something went wrong with that request. Please try again.