openPMD / openPMD-yt-examples

[WIP] Examples for the openPMD yt-project frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yt-project frontend examples

Please read the comments in

about the status of the implementation.

This repository is still in-development and you will need our

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

About

[WIP] Examples for the openPMD yt-project frontend


Languages

Language:Jupyter Notebook 95.2%Language:Python 4.8%