Skip to main content

Simple time series plotting library based on pyspedas and matplotlib.

Project description

stpp_tplot

Simple time series plotting library based on pyspedas and matplotlib.

Overview

stpp_tplot is a Python library that provides convenient functions for plotting time series data, especially for space physics data processed by pyspedas. It simplifies the creation of publication-quality plots with features like:

  • Multiple panel plots with shared x-axis
  • Spectrogram plots with colorbar
  • Orbit parameter labels panel
  • Customizable plot options

Installation

pip install stpp_tplot==0.1.7

Usage

from stpp_tplot import mp, sd, op
from pyspedas.erg import pwe_ofa, mgf, orb

# Load data
trange = ['2017-03-27', '2017-03-28']
pwe_ofa(trange=trange)
mgf(trange=trange)
orb(trange=trange)

# Plot data
mp(['erg_pwe_ofa_l2_spec_B_spectra_132', 'erg_mgf_l2_mag_8sec_sm'], var_label='erg_orb_l2_pos_rmlatmlt')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stpp_tplot-0.1.7.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file stpp_tplot-0.1.7.tar.gz.

File metadata

  • Download URL: stpp_tplot-0.1.7.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for stpp_tplot-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e3c1acc4b26bf537a93de4476ea67995de2ca1ecbbf74bfcbcc92760b0c3a14f
MD5 8822e34ef2d0cfbda0a247bb03f47351
BLAKE2b-256 5f8c883b26b1f4f0f5730789ea691392ffb90c5e207307a7ee5fe8a3ea27fb75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page