Function crpropa::rmsFieldStrengthPerAxis

Function Documentation

std::array<float, 3> crpropa::rmsFieldStrengthPerAxis(ref_ptr<Grid3f> grid)

Evaluate the RMS of all grid points per axis.

Parameters:

grid – a vector grid (Grid3f)

Returns:

An array of length 3 with the RMS field along each axis.