postgkyl.diagnostics.pkpm.load_pkpm¶
- postgkyl.diagnostics.pkpm.load_pkpm(name, species, idx, poly_order, *, tag=None, label=None)¶
Load, interpolate, and frame-transform Gkeyll PKPM data.
Loads the PKPM distribution (its two Laguerre coefficients
F0/G) and its companionpkpm_varsfile (whose component 3 isT/mand components 0:3 are the bulk velocity(ux, uy, uz)), interpolates both, composes the full distribution function (laguerre_compose()), and shifts it into the bulk-flow frame (transform_frame()).- Parameters:
name – Root name (file prefix) of the simulation.
species – Species name.
idx – Frame/file number.
poly_order – Polynomial order of the DG representation.
tag – Optional tag for the resulting dataset.
label – Optional label for the resulting dataset.
- Returns:
A populated, interpolated, frame-transformed
GData.