dbbac15a4481083458194c7997e050dd3e165457,pyCellProfiler/cellprofiler/modules/correctillumination_apply.py,CorrectIllumination_Apply,create_settings,#CorrectIllumination_Apply#,41

Before Change


        self.corrected_image_name = cps.ImageNameProvider("What do you want to call the corrected image?","CorrBlue")
        self.illum_correct_function_image_name = cps.ImageNameSubscriber("What did you call the illumination correction function image to be used to carry out the correction (produced by another module or loaded as a .mat format image using Load Single Image)?","None")
        self.divide_or_subtract = cps.Choice("How do you want to apply the illumination correction function?",
                                             [DOS_DIVIDE, DOS_SUBTRACT], doc = """This choice depends on how the illumination function was calculated
                                             and on your physical model of how illumination variation affects the background of images relative to 
                                             the objects in images. <ul><li>Subtract: Use <i>Subtract</i> if the background signal is significant relative to the real signal
                                             coming from the cells (a somewhat empirical decision).  If you created the illumination correction function using <i>Background</i>,

After Change


    def create_settings(self):
        Make settings here (and set the module name)
        self.images = []
        self.add_image(can_delete = False)
        self.add_image_button = cps.DoSomething("Add another image","Add",
                                                self.add_image)
    
    def add_image(self, can_delete = True):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: dbbac15a4481083458194c7997e050dd3e165457
Time: 2009-10-09
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/correctillumination_apply.py
Class Name: CorrectIllumination_Apply
Method Name: create_settings


Project Name: CellProfiler/CellProfiler
Commit Name: 3fcf0ce5274652f8d494bb0b63e320b0fb4fa3ed
Time: 2010-04-29
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/outputexternal.py
Class Name: OutputExternal
Method Name: create_settings


Project Name: CellProfiler/CellProfiler
Commit Name: 3fcf0ce5274652f8d494bb0b63e320b0fb4fa3ed
Time: 2010-04-29
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/inputexternal.py
Class Name: InputExternal
Method Name: create_settings