Skip to main content

SunPy: Python for Solar Physics

Project description

Latest Version codecov matrix Research software impact DOI Powered by NumFOCUS

SunPy is an open-source Python library for Solar Physics data analysis and visualization. Our homepage SunPy has more information about the project.

For some examples of using SunPy see our gallery, to see the latest changes in SunPy see our Changelog.

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

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

Developing

If you want to develop SunPy you will need to install from GitHub. 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 sunpy
$ conda activate sunpy-dev
$ conda remove sunpy
$ git clone https://github.com/sunpy/sunpy.git sunpy-git
$ cd sunpy-git
$ pip install --no-use-pep517 -e .[all,dev]

For detailed installation instructions, see the Newcomers 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 Developers Guide section of the SunPy docs. Stop by our chat room #sunpy:openastronomy.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 Newcomers guide.

Code of Conduct

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunpy-1.0.0rc2.tar.gz (6.6 MB view details)

Uploaded Source

Built Distributions

sunpy-1.0.0rc2-cp37-cp37m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.7m

sunpy-1.0.0rc2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.7m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

sunpy-1.0.0rc2-cp36-cp36m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.6m

sunpy-1.0.0rc2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.6m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

File details

Details for the file sunpy-1.0.0rc2.tar.gz.

File metadata

  • Download URL: sunpy-1.0.0rc2.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for sunpy-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 8d9536ac4c779b0cee7f1cde4575c2bf5655ef67d67a0d25e39aa13a85ad75f1
MD5 83fa852d05a83fab673435b3df4fd509
BLAKE2b-256 760ad5f2f6f9c3d8e6ca3bac0a592ef58a521143d9ae4d481cf83fcf805b3d2a

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.0rc2-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6

File hashes

Hashes for sunpy-1.0.0rc2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a7527e59f228ecb7053d88be54d6b95c680f9613ac9d51bfe4dcc3a26a52c033
MD5 7f2196e19d0128e50597b5949449077f
BLAKE2b-256 799f8191dd8c649db1f5ddb2b0b837357ca1a8f1f61f41d36bb05cae3784cde6

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-1.0.0rc2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 5b097d9f09a99167a90f7ae878b0deb459b063bd761447c8c72ab3068cee7718
MD5 e3320697222931622f07ab9263ea4f85
BLAKE2b-256 85627ec86c65c69205775ed5b5d1f5e0b0cb54f6069e5a13e673023bf11105a7

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sunpy-1.0.0rc2-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6

File hashes

Hashes for sunpy-1.0.0rc2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f9183188c8e7d8f9fcd11b052d3a09c5048094d61335fe12a1048382f0be73ca
MD5 9e3502aa22047b03935bff7c3a46c8ab
BLAKE2b-256 26efec20d396f717bb06c3b727a03899d04485b96b59b055de3868caaf72d545

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for sunpy-1.0.0rc2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 1edd7ef0ae0311f28e4343a0d876cbe72062544cb2e24d3201d9f07e6a923089
MD5 9a30f994dc476134c42e838b28daddb4
BLAKE2b-256 9bf27ed4787a89f476ba9148b0c44cb6274ef042f3d9362dd06534de82f24d80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page