Skip to main content

magplots

DOI PyPI version

A python library to pull data and make plots from ground magnetometers. Emphasis on plots for comparing magnetometers at geomagnetic conjugate points.

Installation

pip install magplots Make sure that you have a folder in your directory named /output. This is where plots and dataframes will be saved.

MWE

You can check all the component functions by running the magall() function with default values.

from magplots.magFunctions import * # packaged version
# from magFunctions import * # local version
magall(is_verbose = True)

Functions

Type help('magFunctions') for function documentation.

To pull data from Tromsø Geophysical Observatory, save a password locally in a file named tgopw.txt. (You will have to obtain the password from TGO.) If no such file exists, data is automatically pulled from CDAWeb.

Example Plots

Time domain plot:

This plot is produced with the magplot() function: timedomain

Spectrogram:

This plot is produced with the magspect() function: spectrogram

Wave Power Plot:

This plot is produced with the wavefig() function, which calls wavepwr() to calculate the wave power for each station within a given frequency range. By default the frequency range used is the Pc5 range, 1.667 to 6.667 mHz (150-600s). For a given timespan, the integrated wave power is plotted versus the latitude of the stations, with different colors for Arctic and Antarctic magnetometers, in order to illustrate hemispheric asymmetry. This approach is based on Figure 4 of Pilipenko 2021. waveplot

Metadata

Release files for magplots 0.1.3

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

Source distribution (sdist)

Source distribution for magplots 0.1.3
File Size Uploaded Provenance
magplots-0.1.3.tar.gz 4.8 MB Without provenance Details

Built distribution (wheel)

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

Total release size: 9.8 MB

Release files / magplots-0.1.3.tar.gz

Download URL magplots-0.1.3.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
a3ff893b09db181e13a427d9b0efe9b2d895171b9ec8e5f999661de273a9a79c
BLAKE2b-256 checksum
How to use checksums
eae5f91d0a159d9f33e70a948e6d0a811c9fa2bd7070049087eb020cda1a981f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / magplots-0.1.3-py3-none-any.whl

Download URL magplots-0.1.3-py3-none-any.whl
Size 5.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
401b39d1eccaf2e992209e0ce0c1be0cad832a9af094e57fda0ab61be1a13112
BLAKE2b-256 checksum
How to use checksums
e844f5fb7e50df9559c9bed8c81d5a02fc2fc8710ce193b03edcd9ee6784b383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for magplots 0.1.3

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