Skip to content

reid-g/sunpy

This branch is 9111 commits behind sunpy/sunpy:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a10456f · Jul 26, 2018
Jul 19, 2018
Jun 5, 2017
Jun 18, 2018
Jul 26, 2018
Jul 23, 2018
Jun 18, 2018
Jan 8, 2018
Jul 18, 2018
Jul 26, 2018
May 11, 2018
Apr 5, 2018
Nov 21, 2015
Oct 16, 2015
Jun 18, 2018
Jun 18, 2018
Apr 19, 2018
Mar 22, 2018
Jun 18, 2018
Jul 26, 2018
Apr 22, 2018
Mar 16, 2018
Aug 16, 2017
Mar 14, 2018
Feb 29, 2016
Jan 8, 2018
Mar 14, 2018
Mar 16, 2018
Apr 22, 2018
Jun 18, 2018
May 9, 2018
Jun 15, 2018
Jul 4, 2018
Jul 18, 2018

Repository files navigation

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.

About

SunPy - Python for Solar Physics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • C 3.9%
  • Other 0.3%