An implementation of the SPEDAS framework in python
pySPEDAS
pySPEDAS is an implementation of the SPEDAS framework in python.
The Space Physics Environment Data Analysis Software (SPEDAS) framework is written in IDL and contains data loading, data analysis and data plotting tools for various scientific missions (NASA, NOAA, etc.) and ground magnetometers.
Requirements
Python 3.7+ is required.
We recommend Anaconda which comes with a suite of packages useful for scientific data analysis.
Installation
pySPEDAS supports Windows, macOS and Linux. To get started, install the pyspedas
package using PyPI:
PyPI
pip install pyspedas --upgrade
Usage
To get started, import pyspedas and pytplot:
import pyspedas
from pytplot import tplot
You can load data into tplot variables by calling pyspedas.mission.instrument()
, e.g.,
To load and plot 1 day of THEMIS FGM data