picmi-standard / picmi

Standard input format for Particle-In-Cell codes
https://picmi.readthedocs.io
Other
35 stars 25 forks source link

Diagnostics: Slice #93

Open ax3l opened 1 year ago

ax3l commented 1 year ago

For diagnostics of particles and fields, we already have an option to limit the selected box of interest via lower_bound/upper_bound.

https://picmi-standard.github.io/standard/diagnostics.html#standard-pic-diagnostics

This is very general and useful, e.g., to zoom into a data-saving region of interest or creating slices.

For the later, which is a very common use case (slicing), we could add one more specialized argument.

cc @tsung1029 @tdalichaouch