Did I find the right examples for you? yes no

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

src/t/h/TheThresher-HEAD/thresher/thresher.py   TheThresher(Download)
 
        # Index gymnastics.
        self.scene_mask = utils.unravel_scene(self.size + 2 * self.psf_hw,
                self.psf_hw)
        self.psf_rows, self.psf_cols = \

src/t/h/TheThresher-HEAD/thresher/tests.py   TheThresher(Download)
        """
        S, P = 4, 1
        unraveled = utils.unravel_scene(S, P)
 
        # Calculate the brute force unraveled scene.
 
        # Do the matrix operation.
        M = utils.unravel_scene(len(scene), 1)
        matrix = np.dot(scene.flatten()[M], psf.flatten()[::-1]) \
                .reshape(convolution.shape)