Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
SunPy - Python for solar physics
Python C Other

Merge pull request #1374 from Cadair/map_wcs

Use Astropy WCS for map pixel <-> world conversions and add unit support to Map.
latest commit 77f78b93f0
@ayshih ayshih authored
Failed to load latest commit information.
astropy_helpers @ 2f1a783 Revert "small edits"
continuous-integration Do not do a full apt-get upgrade, just a repo update.
doc fix doc build
licenses Licence updates
requirements add requirements readme.
sunpy Merge pull request #25 from ayshih/rotate
tools more fixes
.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 added _compiler.c to gitignore - it's some astropy helpers magic that…
.gitmodules Update astropy_helpers submodule to 0.4.2
.mailmap More mailmap changes to clean up shortlog.
.travis.yml fix the sphinx bug, hopefully
CHANGELOG.md more change log for map [ci skip]
CONTRIBUTING.md Grammar
INSTALL.txt fix for issue #623
MANIFEST.in Manifest addition for astropy_helpers
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
appveyor.yml Update the setup.py test hook.
ez_setup.py First attempt at using astropy_helpers
pytest.ini added pytest.ini.
setup.cfg Start work on moving the docs over
setup.py bump version to 0.7.dev
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.