clatlan / cdiutils

A python package to help Coherent Diffraction Imaging (CDI) practitioners in their analysis.
MIT License
12 stars 7 forks source link

[CLEANING] BcdiProcessor.preprocess_data is too complex #32

Open clatlan opened 7 months ago

clatlan commented 7 months ago

The cyclomatic complexity greater of the BcdiProcessor.preprocess_data method is than 28, this method should be broken down into multiples functions.

Best practice would be to create a submodule Preprocessor.