jolli is just an openPMD low-level interface for reading and plotting PIConGPU output in python. It is a simple wrapper for the openPMD-api to read PIConGPU output
Project description
jolli
jolli is just an openPMD low-level interface for reading and plotting PIConGPU output in python. It is a simple wrapper for the openPMD-api to read PIConGPU output
It is currently under development and not recommended for production! It currently obnoxious works for 2D data, is slow, and is not well written. But it might be already useful: You will find it very familiar if you are already used to the happi interface for SMILEI.
The following methods are already implemented, while not all arguments are funtioning, yet:
Quickstart:
import jolli
S=jolli.Open("/bigdata/hplsim/scratch/kluget/PFT_2/")
units = ["eV","fs","nc","um","a0"]
jolli.Multiplot(
S.Scalar(scalar="Uelm",units=["eV","fs"]),
S.Scalar(scalar="Ukin_e",units=units),
S.Scalar(scalar="Ukin_H",units=units),
S.Scalar(scalar="Ukin_C",units=units),
S.Scalar(scalar="Ukin_O",units=units),
)
dY = S.Scalar(scalar="Ukin_e",units=["me","s"]).getData()
dX = S.Scalar(scalar="Ukin_e",units=["J","steps"]).getAxis()
S.Scalar(scalar="Uelm",units=units).plot()
d1 = S.Scalar(scalar="Uelm",units=units).getData()
S.Energy(units=units).plot()
d2 = S.Energy(units=units).getData()
Ex = S.Field("Ex",timesteps_SI = [80*jolli.fs], units=units)
S.Field("Ex",timesteps_SI = [80*jolli.fs], units=units,average={"x":"all"}).plot()
S.ParticleBinning("H","density",timesteps_SI = [80*jolli.fs], units=units).plot()
S.ParticleBinning("H","density",timesteps_SI = [80*jolli.fs], units=units,average={"x":"all"}).plot()
S.ParticleBinning("H","density",timesteps_SI = [80*jolli.fs], units=units,average={"x":[1*jolli.um,2*jolli.um]}).plot()
d3 = S.ParticleBinning("H","density",timesteps_SI = [80*jolli.fs], units=units).getData()
d3X = S.Scalar(scalar="Ukin_e",units=["J","steps"]).getAxis("x")
S.ParticleFieldSummary(quantity="density",timesteps_SI = [80*jolli.fs], data_log=True,units=units,average={"x":[1*jolli.um,2*jolli.um]}).plot(yrange=[0.01,200])
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jolli-0.0.18.tar.gz.
File metadata
- Download URL: jolli-0.0.18.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64132962eebf5c1ab2c401409bbc4565f3b7b6d2fa13a8c8ef53e564fe497f36
|
|
| MD5 |
b75e33231e5fc1d8fdb83b92798e2b91
|
|
| BLAKE2b-256 |
cc8612fd939244c774a6f67436a554ee422faf0e3b2912f9c59ff8b8b9a7bd73
|
File details
Details for the file jolli-0.0.18-py3-none-any.whl.
File metadata
- Download URL: jolli-0.0.18-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23aa1c1ca170d60184d9230ed763dba835f4ddd1be63036771c58303ece4ac2b
|
|
| MD5 |
bc442bae63c4f9c83176e6f091e95cb1
|
|
| BLAKE2b-256 |
ad5977099654f64328b88760c948a10613be53ee8218c3b0554f9114d3449b7f
|