2132403678d1b7985edecbad44d4d8575f8848af,ilastik/applets/thresholdTwoLevels/opThresholdTwoLevels.py,OpAnisotropicGaussianSmoothing,_getInputComputeRois,#OpAnisotropicGaussianSmoothing#Any#,82

Before Change


                       tuple(map(int, computeRoi[1])) )
        
        inputRoi = (list(inputSpatialRoi[0]), list(inputSpatialRoi[1]))
        inputRoi[0].insert( axiskeys.index("c"), 0 )
        inputRoi[1].insert( axiskeys.index("c"), 1 )

        return inputRoi, computeRoi

After Change


            zIndex = axiskeys.index("z")
            
        indices = [tIndex, cIndex, zIndex]
        indices = sorted(indices, reverse=True)
        for ind in indices:
            if ind:
                spatialRoi[0].pop(ind)
                spatialRoi[1].pop(ind)
        
        inputSpatialRoi = extendSlice(spatialRoi[0], spatialRoi[1], inputSpatialShape.values(), sigma, window=2.0)
        
        // Determine the roi within the input data we"re going to request
        inputRoiOffset = spatialRoi[0] - inputSpatialRoi[0]
        computeRoi = (inputRoiOffset, inputRoiOffset + spatialRoi[1] - spatialRoi[0])
        
        // For some reason, vigra.filters.gaussianSmoothing will raise an exception if this parameter doesn"t have the correct integer type.
        // (for example, if we give it as a numpy.ndarray with dtype=int64, we get an error)
        computeRoi = ( tuple(map(int, computeRoi[0])),
                       tuple(map(int, computeRoi[1])) )
        
        inputRoi = (list(inputSpatialRoi[0]), list(inputSpatialRoi[1]))
        for ind in reversed(indices):
            if ind:
                inputRoi[0].insert( ind, 0 )
                inputRoi[1].insert( ind, 1 )

        return inputRoi, computeRoi
        
    def propagateDirty(self, slot, subindex, roi):
        if slot == self.Input:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 2132403678d1b7985edecbad44d4d8575f8848af
Time: 2013-04-18
Author: martin.schiegg@iwr.uni-heidelberg.de
File Name: ilastik/applets/thresholdTwoLevels/opThresholdTwoLevels.py
Class Name: OpAnisotropicGaussianSmoothing
Method Name: _getInputComputeRois


Project Name: pfnet/optuna
Commit Name: ccdd6a0cb1df06715d556705255f05a94e414146
Time: 2020-10-13
Author: syameimaru_kurumi@pku.edu.cn
File Name: optuna/visualization/_contour.py
Class Name:
Method Name: _generate_contour_subplot


Project Name: stanford-mast/nn_dataflow
Commit Name: aeff109058b43a6c854621743ab7aaced5469130
Time: 2017-06-28
Author: mgao12@stanford.edu
File Name: nn_dataflow/LoopBlocking.py
Class Name:
Method Name: skip


Project Name: deeptools/HiCExplorer
Commit Name: 09a7f7a4deb2d05942e3ce122ddbe84205d984d6
Time: 2018-06-18
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/chicPlotViewpoint.py
Class Name:
Method Name: main