
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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.
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.
You need to install Python 3.8 or later.
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
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
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
Released under the MIT license.
PySPEDAS: https://github.com/spedas/pyspedas
FAQs
A python version of IDL tplot libraries
We found that pytplot-mpl-temp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.