Python modules and programs to handle outputs of the xshells code.
xsplot
xsplot is a python module and also a command line utility that can display:
- time evolution of quantities stored in the
energy.*files, - slices and spectra produced by the
xsppprogram from simulation fields.
For instance, from command line:
python -m xsplot energy.bench -c Eu # displays kinetic energy ('Eu') as a function of time
The same things within a python script or notebook:
import matplotlib.pyplot as plt
import xsplot
y = xsplot.load_diags('energy.bench')
plt.plot(y['t'],y['Eu'])
pyxshells
pyxshells is a python module to work with field* files from simulations.
For instance:
import pyxshells
f = pyxshells.load_field('fieldU.bench')
kinetic_energy = f.energy()
print(kinetic_energy)
DOCUMENTATION
For more info, see https://nschaeff.bitbucket.io/xshells/Ch3.html
Metadata
Release files for pyxshells 2.8
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 |
|---|---|---|---|---|
| pyxshells-2.8.tar.gz | 24.0 kB | Without provenance | Details for pyxshells-2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxshells-2.8-py3-none-any.whl | Python 3 | none | any | Details for pyxshells-2.8-py3-none-any.whl |
Total release size: 47.9 kB
Release files / pyxshells-2.8.tar.gz
| Download URL | pyxshells-2.8.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9410533a8f281f67e9c2f1b7e172d0fb6f1a4437b24a69c14ee9dc99e248952
|
|
BLAKE2b-256 checksum How to use checksums |
11036eb228de5bf6488fc4c81a6d9f58808266fe93e49c9a16d518386fd570b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyxshells-2.8-py3-none-any.whl
| Download URL | pyxshells-2.8-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84ce98adc34cc56ea8102a22047091e75f1519dde7048aa7ad1098b49669a68e
|
|
BLAKE2b-256 checksum How to use checksums |
6f481cf5499c65b34eb8b8c30670d4aa377321923fbc4bb6c7d1e20d9c744f97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for pyxshells 2.8
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.