Vectorized wrapper for j0j0_integrand.

vector_integrand(
  p_perp,
  directions,
  k_perp,
  k_par,
  omega,
  omega_c,
  mass,
  distribution
)

Arguments

p_perp

numeric component of momentum vector perpendicular to the magnetic field divided by p_scale. Should be near 1.

directions

character vector with two spatial directions: acombination of x, y, and z. e.g xx, xy or yz.

k_perp

numeric length of component of wavevector perpendicular to the magnetic field.

k_par

numeric length of component of wavevector parallel to the magnetic field.

omega

numeric angular cyclotron frequency of current fluctuations.

omega_c

numeric particle angular cyclotron frequency (omega_c = qB/m).

mass

numeric particle mass in kg.

distribution

list with the velocity distribution.

Value

numeric