-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
The original design of ImageSource class targets an immutable class which prevents the change of class variables and metadata. However, this is not exactly followed such as in the downsample function that resets the class variable L for the image size due to the downsampling and in whitening function that modifies the type of CTF filters. The reset of L can cause crash in the Simulation class when the clear images need to be reconstructed at different stages. We have a few options need to be discussed.
- Use additional variable such as
_Lfor the original image size. - Implement the clone method to generate new object when changing values of variables is needed.
- Derive new ImageSource class for each submodule or preprocess step such as the DenoisedImageSource class.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested