Skip to main content

sampex

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.

Documentation

The example plot below sums up what this library does. I generated it with this console command: plot_sampex 2007 1 20 --yscale log Example SAMPEX data from the HILT, PET, and LICA instruments

Install

Installing this package is as simple as

python3 -m pip install sampex

If you want to develop this package, run

git clone git@github.com: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 

Get started

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.

Examples

There are a handful of examples in the documentation

Metadata

Release files for sampex 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sampex 1.1.1
File Size Uploaded Provenance
sampex-1.1.1.tar.gz 14.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sampex 1.1.1
File Interpreter ABI Platform
sampex-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.8 kB

Release files / sampex-1.1.1.tar.gz

Download URL sampex-1.1.1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e2f0e3e14036b8bfa8d63255c3e0f5128617352909c3a8216a88ab0b5b4a1790
BLAKE2b-256 checksum
How to use checksums
b3f3f1097543ad460f68dff2a85a9391429ce04880e2990427e24d69b075d714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / sampex-1.1.1-py3-none-any.whl

Download URL sampex-1.1.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
546ff3f6c2016fadb82b83b6756e5454d5cac530d10dc441cdd111db195ce4dc
BLAKE2b-256 checksum
How to use checksums
0a5e256d18bea0b2b5d2635cb64c5df56ad3fb3abcda832fd469605ab26eea26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Security for sampex 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page