Feature #2415

Updated by rbeerwerth 5 months ago

One needs to make sure that BornAgain produces the same result as other
codes capable of polarized reflectivity. One can take "GenX":https://sourceforge.net/projects/genx/ or "Refl1D":https://github.com/reflectometry/refl1d for comparison.
Note that all the three codes differ in the input format for magnetic field and layer properties.

The numerical stability of the polarized implementation can be probed by comparing it to a scalar computation with a modified SLD, according to the applied magnetic field.
This applies to samples where the magnetic field is (anti)parallel to the polarization.