SunPy core package: Python for Solar Physics
Project description
sunpy is a Python software package that provides fundamental tools for accessing, loading and interacting with solar physics data in Python. It is the core library of the SunPy 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 miniforge. To install sunpy once miniforge is installed run the following command:
$ conda install sunpy
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
>>>
>>> import matplotlib.pyplot as plt
>>>
>>> aia = sunpy.map.Map(AIA_171_IMAGE)
>>>
>>> aia.plot()
>>>
>>> plt.show()
Getting Help
For more information or to ask questions about sunpy or any other SunPy library, check out:
Acknowledging or Citing sunpy
If you use sunpy in your scientific work, we would appreciate your citing it in your publications. The continued growth and development of sunpy is dependent on the community being aware of sunpy.
Contributing
If you would like to get involved, start by joining the SunPy Chat and check out our Newcomers’ guide. This will walk you through getting set up for contributing.
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
Built Distributions
File details
Details for the file sunpy-4.0.6.tar.gz
.
File metadata
- Download URL: sunpy-4.0.6.tar.gz
- Upload date:
- Size: 5.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0167df39cf1716946c0474bd54dd4f50a572e22ccdc0ad6f6e507f44cdca312a |
|
MD5 | f0a30836fd3245a40aaf6b24b99ff224 |
|
BLAKE2b-256 | ac98566e9ad30155f8ef817ea5e49f71cbb677b2a73b66c091838f9b24cc76fa |
File details
Details for the file sunpy-4.0.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: sunpy-4.0.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09327e0861bc16fe8697e821f24b9e22d6f94c23b6ff621b5e087289ab2e8f10 |
|
MD5 | b012ec96c61c173d535486fe87b815a1 |
|
BLAKE2b-256 | 6469ba8a19bd2b0f5045fc43435a06e4a017f4b73025ad845f1cecde219516d5 |
File details
Details for the file sunpy-4.0.6-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: sunpy-4.0.6-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2090eddeda97511277b6b011d9911101faf20e7e60214392b41a19c5bab3800c |
|
MD5 | 50dbcecad112a2b7ef84f30892060ea5 |
|
BLAKE2b-256 | 335398a57743c2b1cc13d6a67fbce489a157c77f6e50a2e4a3508de816847779 |
File details
Details for the file sunpy-4.0.6-cp38-abi3-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: sunpy-4.0.6-cp38-abi3-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.3 MB
- Tags: CPython 3.8+, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7bd04e928899da1f9c05087fd003da887650506a8ddae98a9dc3295d4096e1e |
|
MD5 | a5bc5ab90eaf66d0a8cf4045b8a0527d |
|
BLAKE2b-256 | 9b9b2235c527c1f4c87d1a1a6bfc72bfdbeb7e12616fd0f4deae1e03f2e5594f |