Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/correctilluminationcalculate.py   CellProfiler(Download)
from cellprofiler.cpmath.cpmorphology import grey_erosion, grey_dilation
from cellprofiler.cpmath.cpmorphology import fixup_scipy_ndimage_result as fix
from cellprofiler.cpmath.bg_compensate import backgr, MODE_AUTO, MODE_BRIGHT
from cellprofiler.cpmath.bg_compensate import MODE_DARK, MODE_GRAY
        self.spline_bg_mode = cps.Choice(
            "Background mode",
            [MODE_AUTO, MODE_DARK, MODE_BRIGHT, MODE_GRAY], doc = """
            <i>(Used only if %(SM_SPLINES)s are selected for the smoothing method and 
            spline parameters are not calculated automatically)</i><br>