The field-particle correlation shows the net energy transfer in phase-space between fields and particles over a correlation interval in space/time.
The FPC computes the energization rate of particles within specified region in phase-space by the electric field component
As the name implies, the FPC is a correlation between the distribution function and the electric fields. This correlation can be taken over space and or time. Often in plasmas, there is oscillatory energy transfer that yields no net transfer upon integration over a periodic domain in space or time. As the net-effects of energy transfer are more relevant to most analysis, correlating over a specified space/time region helps simplify analysis and understanding.
This library is most suitable for taking correlations over space, but one can take the sum of
Please see the example notebooks on how to load and compute the FPC using simulation data.
One can compute the correlation as a function of x along thin slices specified by dx by filling out an analysisinput.txt file (see parent directory for example) and running python scripts/generateFPCsimnname.py (be sure to activate the environment first).
Many of the FPC scripts produce *.nc files (netcdf4 files) that contain the distribution function data, and data for the FPCs computed using thin slices along x.
You can use ncdump (if installed) to see the header. 'ncdump -h filename.nc'.
Otherwise, see the FPCAnalysis/data_netcdf4.py file for examples on how to load the *.nc file.
Note that the key 'MachAlfven' is the upstream injection velocity in the simulation rest frame. It is common for this to be related to the name of the simulation. For example, the shock studied in Brown et al 2023 is called M06th45 because we inject particles with an upstream alfven/ species thermal velocity (they are equal in this sim as beta_s = 1) of 6 and have a shock normal angle of 45 degrees (or more specifically we have an external magnetic field that is initialized to be 45 degrees from the direction of the injection velocity).
By correlating with different fields or in different coordinates, one can obtain different types of FPC
The instability correlation is correlation between the instability fields (defined as the total fields minus some 'steady-state' profile of the fields). It shows the energization by the instabilites.
The correlation can be computed in Field-Aligned coordinates. Note, there are different definitions of field-aligned as one can consider either the average magnetic field over a region or the local magnetic field when computing the direction of the magnetic field.