quartic2d.HarmonicTransform.roundtrip_error#

HarmonicTransform.roundtrip_error()#

Return the power-weighted relative L2 round-trip error.

Returns:

Relative L2 difference between the retained PETAL2D radial harmonics and their forward/inverse Hankel reconstruction.

Return type:

float

Notes

This is a numerical consistency diagnostic for the represented field; it is not an independent reference error for the original Cartesian input.