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

This version

1.0.0

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.0.tar.gz (6.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.7m

sunpy-1.0.0-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.7mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

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

Uploaded CPython 3.6m

sunpy-1.0.0-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.6mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: sunpy-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3c1c1450355dfbad3d3ceab07427a64a50d939417f81dc144714b44264b15d6a
MD5 3c73cb395e1d4153fbe75ac947b84fd6
BLAKE2b-256 6c3520803b686ed6f4f6a935ccdab49d9b249aad1bab88b51b3b008cb7b391eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.0-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.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3887c736256ccd15ff52ddc77d0e534bf2140ac0d302ffb35753b7cab1c93e06
MD5 287ca0cdaabd0e9be75a0c9a1da45555
BLAKE2b-256 ac8b848f626fd25c739c4c0c8a697a4aeb2eeadc3083e3452deeca240a2faaee

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0-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.0-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 2451d20d2e6f5f95a6a44971c2e44ca6171cc05e20ea82a2b58988fc86a2c865
MD5 0c1c63037c5f035d35726e8dec74a18a
BLAKE2b-256 4433033de259e232950077a90009b02a8b511d62c7d5067f166a13925736b681

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.0-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.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 daa57508c086416a1bd09a3df99a1c32fae85d54b2a81bef45a2da52529c87dd
MD5 1796cac5d233466f3f32f674f874273e
BLAKE2b-256 737226fa2531eb0eb4a639b98510135f815c365a3e13f8dca326e195b04549d6

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0-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.0-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 5a5b04ec686b1f47bbe9422e7ad76f4cbd6f3513c859d5c4ab96183d21201635
MD5 11178c0a1206d6946b6f79cccc24d1cf
BLAKE2b-256 d39ec10e623ac012be69ab7d7c33e9275296cfa576f06a3a3a1b925ccf86b88c

See more details on using hashes here.

Supported by

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