Easily load and plot data from the Solar Anomalous and Magnetospheric Particle Explorer (SAMPEX) satellite that operated from 1992-2012. This library currently downloads and loads data from the HILT
, PET
, and LICA
instruments, as well as the attitide
files.
The example plot below sums up what this library does. I generated it with this console command: plot_sampex 2007 1 20 --yscale log
Installing this package is as simple as
python3 -m pip install sampex
If you want to develop this package, run
git clone [email protected]:mshumko/sampex.git
cd sampex
Then one of these commands to install sampex into a virtual environment:
python3 -m pip install -e .
or
python3 -m pip install -r requirements.txt
You can configure this package so it knows the top-level directory to search for (or save) the data to.
python3 -m sampex config
and paste the top-level SAMPEX data directory in the prompt.
There are a handful of examples in the documentation