pyverbplt
pyverbplt is a Python library designed to load .plt files, created by the Versatile Electron Radiation Belts (VERB) code into structured numpy arrays.
Features
- Load data from
.pltfiles into structured numpy arrays. - Supports loading multiple variables from the
.pltfile. - Options to permute, squeeze, and reshape the loaded data.
- Ability to specify zones for selective data loading.
Installation
To install pyverbplt, clone the repository:
git clone https://github.com/radiation-belts/pyverbplt.git
To install using PyPI:
pip install pyverbplt
Usage
The main functionality is provided by the load_plt function in pyverbplt.py. Below are some examples of how to use this function:
import pyverbplt
# Example 1: Load multiple variables from a diffusion coefficients .plt file
L, E, A, Daa = pyverbplt.load_plt('path/to/dxx_file.plt')
# Example 2: Load data from a .plt file but only unpack one variable
_, _, _, Daa = pyverbplt.load_plt('path/to/dxx_file.plt')
# Example 3: Load data from a PSD .plt file into a single variable. Load all zones (times).
psd = pyverbplt.load_plt('path/to/psd_file.plt', first_zone=0, skip_zones=0, n_zones=None)
Documentation
Please see the file header. The readthedoc version is comming soon.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
Metadata
Release files for pyverbplt 24.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyverbplt-24.9.tar.gz | 5.6 kB | Without provenance | Details for pyverbplt-24.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyverbplt-24.9-py3-none-any.whl | Python 3 | none | any | Details for pyverbplt-24.9-py3-none-any.whl |
Total release size: 11.4 kB
Release files / pyverbplt-24.9.tar.gz
| Download URL | pyverbplt-24.9.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
930c424dbbc289715667904562716aa4e6d585dd54a3c39769079c24f0cefbc3
|
|
BLAKE2b-256 checksum How to use checksums |
40752d8d7dddd8a9fdb3444ef3bb8982a14c30ba82ee2be42defcc8354449f2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Release files / pyverbplt-24.9-py3-none-any.whl
| Download URL | pyverbplt-24.9-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9e19fa85d48324e78df23561198f2aa79ba6fbfac49fd0e665f6c43ed0c83bf
|
|
BLAKE2b-256 checksum How to use checksums |
b54ec7f9f66ed87443567f7f94d448c9bb9cafddbf987aa90c165fd92528a8ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Security for pyverbplt 24.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.