https://github.com/openpmd/openpmd-yt-examples
[WIP] Examples for the openPMD yt-project frontend
https://github.com/openpmd/openpmd-yt-examples
Last synced: 11 months ago
JSON representation
[WIP] Examples for the openPMD yt-project frontend
- Host: GitHub
- URL: https://github.com/openpmd/openpmd-yt-examples
- Owner: openPMD
- Created: 2015-11-13T08:44:39.000Z (over 10 years ago)
- Default Branch: 1.0.0
- Last Pushed: 2016-04-18T20:37:45.000Z (about 10 years ago)
- Last Synced: 2025-02-23T10:19:37.398Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 453 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yt-project frontend examples
============================
Please read the comments in
- [openPMD-yt](https://github.com/openPMD/openPMD-yt)
about the status of the implementation.
This repository is still in-development and you will need our
- [example data sets](https://github.com/openPMD/openPMD-example-datasets)
to play with it.
Comments about the frontend
---------------------------
- `postionOffset` and `weighting` are ignored
- only `mass` and `charge` are interpreted as constants the others as arrays
- !!! in `data_structures.py`, `class OpenPMDDataset`, `parse_parameter_file`
the size of the simulation box is hard coded and needs to be changed for
each file
Description of the Scripts
--------------------------
- `Convert_unitDimensions_to_YTUnit.py` converts an openPMD unit array in an
unit string for YT
- `Load_Particles_with_YT_loadParticles.py` is an example to load particles
with the `yt.load_particles()` function instead of the more general
`yt.load()`
- `Simple_HDF5_Hierarchy_Reader.py` shows the groups and attributes of a
HDF5-file as a tree
- `YT_Example_Plots.py` contains a selection of examples plots with YT