Some of the ESRF beamlines (e.g. ID16A) often use different filters other than the Paganin filter for phase-retrieval. This MR track the development of the support for the contrast transfer function (CTF) single-distance phase-retrieval.
CTF single-distance class
Local correction of the sample induced distortion
docstring and key comments for crucial / involved parts
DetectionCorrectorinto single-purposed classes
Rebase on latest master and update
PaganinPhaseRetrievaltests if needed (news API use meters !)
Remove commented code and last test case in
Decouple distortion estimation from distortion correction in
A comprehensive description of the CTF and it's derivation / usage can be found here: https://doi.org/10.1364/OE.26.011110 ( equation (8) for single distance; Equation (16) for multiple distances).
Corresponding reference code can be found here: https://gitlab.esrf.fr/ID16A/id16a_octave_beamline