Python in Heliophysics Community Gallery#
A collection of examples and tutorials for using Python for Heliophysics. New examples can be added by following the contribution guide in the README.
We built a Python virtual environment capable of importing every published PyHC package without dependency conflicts, and we intended to use that environment for this gallery. However, the resulting Docker image is too large for Binder to handle. So instead, we made our own
pyhc-gallery image and pushed it to Docker Hub. We encourage interested readers to try it out.
But for now, these pages are generated using a minimal set of packages needed to run the examples:
%load_ext watermark %watermark -ivp aiapy,astropy,matplotlib,numpy,pyspedas,pytplot,spacepy,sunpy
Python implementation: CPython Python version : 3.10.8 IPython version : 8.7.0 aiapy : 0.6.4 astropy : 5.0.4 matplotlib: 3.5.3 numpy : 1.23.4 pyspedas : 1.2.10 pytplot : 1.7.28 spacepy : 0.2.3 sunpy : 3.1.8