verify_bem_fresnel¶
Verify BEM vs Fresnel dyadic Green’s functions via least-squares scaling.
Reads the CSV produced by compare_BEM_dyadic.py, fits a complex scalar s_ij for each tensor component such that ||s_ij * G_BEM - G_Fresnel||^2 is minimised, then reports the per-component and averaged scale factors along with the relative RMS error after scaling.
To use this script: python -m mqed.BEM.verify_bem_fresnel path/to/bem_vs_fresnel.csv