Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
SunPy - Python for solar physics
Python C Other
Failed to load latest commit information.
astropy_helpers @ 161773f update astropy_helpers to v1.0.2
continuous-integration Do not do a full apt-get upgrade, just a repo update.
doc change the home dir in conf.py for rtd
licenses Licence updates
requirements add requirements readme.
sunpy make the queryreposonse repr test less specific.
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
.gitattributes Mark all fits files as binary in gitattributes
.gitignore Rename doc/_build to doc/build
.gitmodules Update astropy_helpers submodule to 0.4.2
.mailmap More mailmap changes to clean up shortlog.
.travis.yml update pandas and numpy on travis
CHANGELOG.md Merge pull request #1458 from bsipocz/setup_changing_builddir_location
CONTRIBUTING.md Grammar
INSTALL.txt fix for issue #623
MANIFEST.in Some improvements of handling of the hash library
README.md fixed download_sample_data -> reported 'invalid cross-device link' wh…
RELEASE.md Release announcement and mailmap changes.
ah_bootstrap.py update astropy_helpers to v1.0.2
appveyor.yml Update the setup.py test hook.
ez_setup.py First attempt at using astropy_helpers
pytest.ini Explicitly register pytest markers
setup.cfg Rename doc/_build to doc/build
setup.py override home dir on rtd
tox.ini added sqlalchemy dependency

README.md

SunPy

Downloads Latest Version Build StatusBuild statusCoverage Status Code Health

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

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(cmap=cm.hot)

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.