carnisj / bcdi

BCDI: tools for pre(post)-processing Bragg coherent X-ray diffraction imaging data
Other
23 stars 17 forks source link

Add more OOP in preproccessing #314

Closed carnisj closed 1 year ago

carnisj commented 2 years ago

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?