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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m

sunpy-1.0.0rc4-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.0rc4-cp36-cp36m-manylinux1_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.6m

sunpy-1.0.0rc4-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.0rc4.tar.gz.

File metadata

  • Download URL: sunpy-1.0.0rc4.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.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for sunpy-1.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 fd62f3fc8ebddaf3382ba269d129ba8babaf896daa7adee23519fa481492885f
MD5 836cf4448a96cd9ea9a21ba70048d0c3
BLAKE2b-256 6f3241a69203e308e1565b44d80c49bd8d212fae3e8dc228e6801de502c93a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.0rc4-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.0rc4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2c40f1fd2f28f7c08a893b3f5c7ef46fa9c4e30dc16b11ae2d886fd932db5883
MD5 fb8b45c47e57ba131434dca119defccc
BLAKE2b-256 a49edd0bdb3c6b7ca05b322278885acd85b142820cb3fd9f94d98f8a2fe40288

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc4-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.0rc4-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 843f811804595530842e435d72b2ff568abd891b2d23a1cee7121f51748c0cb0
MD5 5c14a52e79c828024964f68914bd3757
BLAKE2b-256 5722c6381bdff0d799a81a0902be3334a13bd8e0d3e1d7e9a343100e0396ac4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunpy-1.0.0rc4-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.0rc4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c6b1c411dc4b6d3c1058a3281f16cb83a4ac09e0874d72efc4b029d054e540d0
MD5 eeb7e86288532ecc62f93de66401b38a
BLAKE2b-256 8367f99c564194428bbce1afcd11c091742a824fbc411b84cbddf204af389487

See more details on using hashes here.

File details

Details for the file sunpy-1.0.0rc4-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.0rc4-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 4ca3fc018974b0be62eca260a8dd4318083619d79ae98cfbc594a716d6643f1b
MD5 577e8ee49a4f7a78932eb599a50d5f0c
BLAKE2b-256 a068b5c7d20c4337d3c06b8e64428fe672771d2f6530ae326a618bbe631b66be

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