Skip to main content

A python version of IDL tplot libraries

Project description

build DOI

pytplot - matplotlib version

Pytplot is a python package which aims to mimic the functionality of the IDL "tplot" libraries for analysis and visualization of heliophysics time series data.

This is the modified (matplotlib) version of the pytplot package. This version is used in the pyspedas project, which is a python rewrite of the IDL SPEDAS software.

Pytplot can be used in python scripts, or interactively through IPython and the Jupyter notebook.

How It Works

Data is read into pytplot by using the "store_data" command. Each dataset is assigned a unique name by the user.

The data is stored in a "tplot variable" class. The tplot variables contain all the information required to create a plot of the dataset. The details of the plot, such as axis titles, types, line colors, etc, can be changed through other functions in pytplot.

Install Python

You need to install Python 3.8 or later.

Install pytplot

Open up a terminal, and type::

pip install pytplot-mpl-temp

This will install pytplot and all of it's dependencies.

Since this version is designed to be used with pyspedas, you can also install it by installing pyspedas:

pip install pyspedas

To update the package to the latest released version, use:

pip install pytplot-mpl-temp --upgrade
pip install pyspedas --upgrade

Running pytplot

To start using pytplot in a similar manner to IDL tplot, start up an interactive environment through the terminal command:

ipython

or, if you prefer the jupyter interactive notebook:

jupyter notebook

then, just import the package by typing the command:

import pytplot

Contact

If you have any suggestions or notice any problems, don't hesitate to contact Jim Lewis: jwl@ssl.berkeley.edu

The original version of pytplot was developed by Bryan Harter: harter@lasp.colorado.edu

License

Released under the MIT license.

Additional Information

PySPEDAS: https://github.com/spedas/pyspedas

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pytplot-mpl-temp-2.2.12.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytplot_mpl_temp-2.2.12-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file pytplot-mpl-temp-2.2.12.tar.gz.

File metadata

  • Download URL: pytplot-mpl-temp-2.2.12.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pytplot-mpl-temp-2.2.12.tar.gz
Algorithm Hash digest
SHA256 53a97b02e32471ea15cdf4bbb8b35b5bc2206e3fefbbf5137504bda1ab3a5d88
MD5 d24b15743201265854220fbcce357d5c
BLAKE2b-256 cea0ecb5dcd141e27d5d0fbd1a93a6aa0fc496b1584188f40eba0e451a50f0db

See more details on using hashes here.

File details

Details for the file pytplot_mpl_temp-2.2.12-py3-none-any.whl.

File metadata

File hashes

Hashes for pytplot_mpl_temp-2.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 169f54e0a702de7b4d7e2bc7d2b87a5322e5d245ecc0e30cf6b2bb36f3dd8ee2
MD5 ff475fff12c197166f5f7c1fc62cdb77
BLAKE2b-256 27d7d9ce850ab4543b283eda0b64459e34c2213b05e07d471625f394911db11c

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