sarkas.tools.observables.calc_Skw#

sarkas.tools.observables.calc_Skw(nkt, ka_list, species_np, no_dumps, dt, dump_step)[source]#

Calculate the Fourier transform of the correlation function of nkt.

Parameters
  • nkt (complex, numpy.ndarray) – Particles’ density or velocity fluctuations. Shape = ( no_species, no_dumps, no_k_list)

  • ka_list (list) – List of \(k\) indices in each direction with corresponding magnitude and index of ka_counts. Shape=(no_ka_values, 5)

  • species_np (numpy.ndarray) – Array with one element giving number of particles.

  • no_dumps (int) – Number of dumps.

  • dt (float) – Time interval.

  • dump_step (int) – Snapshot interval.

Returns

Skw_all (numpy.ndarray) – DSF/CCF of each species and pair of species. Shape = (no_skw, no_ka_values, no_dumps)