mist-medical / MIST

MIST: A simple, scalable, and end-to-end framework for 3D medical imaging segmentation.
Apache License 2.0
28 stars 11 forks source link

Refactor analyze_data to production quality code. #28

Closed aecelaya closed 1 month ago

aecelaya commented 1 month ago

Refactor analyze_data to production quality code by enforcing PEP 8 in analyze.py and create a anaylzer_constants dataclass for saving constants related to the MIST analysis pipeline.

Minor update to the back_to_original_space function that sets the spacing in the prediction to the target spacing before resampling back to the original spacing.