sarkas.tools.observables.VelocityAutoCorrelationFunction.grab_sim_data#

VelocityAutoCorrelationFunction.grab_sim_data(start_dump_no, end_dump_no, vel, time)[source]#

Grab the data from simulation dumps.

Parameters
  • start_dump_no (int) – Initial number of the checkpoint dump.

  • end_dump_no (int) – Final number of the checkpoint dump.

  • vel (numpy.ndarray) – Array in which to store the collected velocities. Shape = (dimensions, len(no_ptcls_per_species`)`, 2acf_slice_steps)

  • time (numpy.ndarray) – Array in which to store the time collected from the dump. Shape = (2acf_slice_steps)