Python C Other
Clone or download
Cadair Merge pull request #2719 from dstansby/matrix-2-array
Replace np.matrix() with np.array()
Latest commit 46a9c6b Aug 14, 2018
Permalink
Failed to load latest commit information.
.circleci Merge pull request #2666 from Cadair/removalmk2 Jul 19, 2018
.github Bot is on Message. Jun 5, 2017
astropy_helpers @ ca63040 changed to v3.02 for astropy_helpers Jun 18, 2018
changelog Add changelog Aug 14, 2018
docs ensure all the sphinx gallery imports are optional Jul 23, 2018
examples rename file Jun 18, 2018
licenses Update copyright years in six license Jan 8, 2018
requirements added drms to setup.py and req.ext Jul 18, 2018
sunpy Fix matrix multiplication Aug 14, 2018
tools Add a xonsh script to generate release stats May 11, 2018
.codecov.yaml stu addressed Apr 5, 2018
.editorconfig Added editorconfig file to standarise the style over different editors Nov 21, 2015
.gitattributes union merge for python3.sh Oct 16, 2015
.gitignore moved figures to 3.6 Jun 18, 2018
.gitmodules moved to master astropy_helpers Jun 18, 2018
.mailmap Update release notes for 0.9 Apr 19, 2018
.pep8speaks.yml Templated stability summary to use data from yaml Mar 22, 2018
.readthedocs.yml read the docs python 3.6 Jun 18, 2018
.travis.yml pytest==3.6 until 3.7.2 Aug 13, 2018
CHANGELOG.rst minor chnages Apr 22, 2018
CITATION.rst addrressed davids comments Mar 16, 2018
CODE_OF_CONDUCT.rst Refactor the docs so we have fewer top level links Aug 16, 2017
CONTRIBUTING.rst changelog and no more MD Mar 14, 2018
INSTALL.txt Updated Installation Instruction Link Feb 29, 2016
LICENSE.rst Update copyright year & wrap characters in license Jan 8, 2018
MANIFEST.in Now no more MD Mar 14, 2018
README.rst addrressed davids comments Mar 16, 2018
RELEASE.rst improved docs following comments Apr 22, 2018
ah_bootstrap.py further changes for astropy_helpers Jun 18, 2018
appveyor.yml pillow update appy Aug 13, 2018
pyproject.toml Bot no longer tells people about changelog needed. Jun 15, 2018
setup.cfg Add the config for isort Jul 4, 2018
setup.py added drms to setup.py and req.ext Jul 18, 2018

README.rst

SunPy

Latest Version Build Status Build status codecov Research software impact DOI Powered by NumFOCUS

SunPy is an open-source Python library for solar physics data analysis. See sunpy.org for more information about the project.

For some examples of using SunPy see our gallery.

Installation

The recommended way to install SunPy is with conda. To install SunPy once conda is installed run the following two commands:

$ conda config --append channels conda-forge
$ conda install sunpy

If you want to develop SunPy you will need to install from git. The best way to do this is to create a new conda environment and install the git version of SunPy in it:

$ conda config --append channels conda-forge
$ conda create -n sunpy-dev python sunpy hypothesis pytest-mock
$ source activate sunpy-dev
$ conda remove sunpy
$ git clone https://github.com/sunpy/sunpy.git sunpy-git
$ cd sunpy-git
$ pip install -e .

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
>>> from sunpy.data.sample import AIA_171_IMAGE
>>> aia = sunpy.map.Map(AIA_171_IMAGE)
>>> aia.peek()

Getting Help

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

Contributing

Open Source Helpers

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 chat room #sunpy:matrix.org 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 the list of known outstanding items.

For more information on contributing to SunPy, please read our contributing guide or the Newcomers guide.

Code of Conduct

When you are interacting with the SunPy community you are asked to follow our Code of Conduct.