Create classes Analysis, PreprocessingLoader and InteractiveMasker for preprocessing. Each preprocessing case (loading/reloading, interpolation or not) is using a child class. Refactor preprocessing.process_scan to use these classes, so that it is much easier to follow analysis steps.
Fixes #301
Type of change
[X] Refactor (non-breaking change which adds functionality)
How has this been tested?
[X] I have made corresponding changes to the documentation
[X] I have added (some) corresponding unit tests -> need to remove temporal coupling in Setup
Description
Create classes Analysis, PreprocessingLoader and InteractiveMasker for preprocessing. Each preprocessing case (loading/reloading, interpolation or not) is using a child class. Refactor
preprocessing.process_scan
to use these classes, so that it is much easier to follow analysis steps.Fixes #301
Type of change
How has this been tested?
doit
and all tasks have passed