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.5

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.6.tar.gz (8.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: stpp_tplot-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 d9b5d590abdb434cb29a71293b5b100d67dc61bcea8cab074f83223d09626762
MD5 f13f036bcaa67f1faeb9abc995095139
BLAKE2b-256 29892216a5135732d5005ae4b8e33f18ee8f3104abb39157c9da692883d9adac

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