Prep manager module

class library.image_manipulation.prep_manager.PrepCreater

Bases: object

Contains methods related to generating low-resolution images from image stack [so user can review for abnormalities e.g. missing tissue, poor scan, etc.] and applying this quality control analysis to image stack

apply_QC()

Applies the inclusion and replacement results defined by the user on the Django admin portal for the Quality Control step to the full resolution images. The result is stored in the animal_folder/preps/CHX/full directory Note: We don’t want the image size when we are downsampling, only at full resolution.