read_eppic_snaps_info

PlasmaCalcs.hookups.eppic.eppic_io_tools.read_eppic_snaps_info(dir='.', *, dt=None, snaps_from='parallel', read_mode=2)

returns (snapnames, times).

Gets snapnames from files in ‘parallel’ directory.

E.g. parallel000073.h5 –> snapname ‘73’.
If no ‘parallel’ directory, returns ([], []).
dir: string (default ‘.’)
directory of ‘eppic.i’ file.
dt: None or value
the simulation time step; each snap’s time is equal to dt * (snap name)
if None, attempt to read ‘dt’ from eppic.i file.
snaps_from: ‘parallel’ or ‘timers’
where to get snapnames from.
parallel –> get from parallel directory.
timers –> get from timers.dat file.