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

This version

2.2.0

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.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2 Python 3

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytplot-mpl-temp-2.2.0.tar.gz
Algorithm Hash digest
SHA256 8b0c6dfdf04842585705a16007fcd6fdc7550a255e3bfbd631912a80cfc034b6
MD5 239fd94096ef1b7bb07dc5030f70b6f6
BLAKE2b-256 9ed4476353c756036506e0c0ab87d96feeb631f37c5dfdd7ea1c551e460971f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytplot_mpl_temp-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d42b98e3b11ffe97d9fb9ad1024b0b41696d218fcfd3ce60b9825a61b67f076c
MD5 9eb57a330b9235a6a1d2c662c3f78012
BLAKE2b-256 2b5d19268879943aeb77cb8d2b570b883ab0a123692cf837cf5962c0443f9eec

See more details on using hashes here.

File details

Details for the file pytplot_mpl_temp-2.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytplot_mpl_temp-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 264790dc8d560aa5db28cf621628babe3e7fd566c8f7ae0c3d7bd9a58172605a
MD5 d786a0c17bed11913d76dfddfa9b9bc6
BLAKE2b-256 769b17e4aa593036b3ab32d069ebf5eecc1088d43a4c8bcbeac1b63bf05b48b6

See more details on using hashes here.

File details

Details for the file pytplot_mpl_temp-2.2.0-1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytplot_mpl_temp-2.2.0-1-py3-none-any.whl
Algorithm Hash digest
SHA256 51c929863791b3fb355997ff2b4982179e01e36cfe115333c90cb1485358cb9e
MD5 04556343fda93e1c18b3a9d1165c662b
BLAKE2b-256 7019935794b1004ebd463b2f17db9a52b2f10bb90d5717bc88cdf94d56f44a98

See more details on using hashes here.

Supported by

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