featuremapper/analysis/pinwheels.py
def identify_pinwheels(self, re_contours, im_contours, intersections,
                                                     silence_warnings=True):
        """
        Locates the pinwheels from the intersection of the real and
        imaginary contours of of polar OR map.
        """
        warning_counter = WarningCounter()
        pinwheels = []
        np.seterrcall(warning_counter)
        for (re_ind, im_ind) in intersections:
            re_contour = re_contours[re_ind]
            im_contour = im_contours[im_ind]
            np.seterr(divide='call', invalid='call')
            x, y = self.find_intersections(re_contour, im_contour)
            np.seterr(divide='raise', invalid='raise')
            pinwheels += zip(x, y)

        if not silence_warnings:
            warning_counter.warn()
        return pinwheels

        Locates the pinwheels from the intersection of the real and
        imaginary contours of of polar OR map.
        
Locates the pinwheels from the intersection of the real and
imaginary contours of of polar OR map.
Locates the pinwheels from the intersection of the real and imaginary contours of of polar OR map .
def identify_pinwheels(self, re_contours, im_contours, intersections,
                                                     silence_warnings=True):
        warning_counter = WarningCounter()
        pinwheels = []
        np.seterrcall(warning_counter)
        for (re_ind, im_ind) in intersections:
            re_contour = re_contours[re_ind]
            im_contour = im_contours[im_ind]
            np.seterr(divide='call', invalid='call')
            x, y = self.find_intersections(re_contour, im_contour)
            np.seterr(divide='raise', invalid='raise')
            pinwheels += zip(x, y)
        if not silence_warnings:
            warning_counter.warn()
        return pinwheels
def identify_pinwheels ( self , re_contours , im_contours , intersections , silence_warnings = True ) : warning_counter = WarningCounter ( ) pinwheels = [ ] np . seterrcall ( warning_counter ) for ( re_ind , im_ind ) in intersections : re_contour = re_contours [ re_ind ] im_contour = im_contours [ im_ind ] np . seterr ( divide = 'call' , invalid = 'call' ) x , y = self . find_intersections ( re_contour , im_contour ) np . seterr ( divide = 'raise' , invalid = 'raise' ) pinwheels += zip ( x , y ) if not silence_warnings : warning_counter . warn ( ) return pinwheels
Locates the pinwheels from the intersection of the real and
imaginary contours of of polar OR map.
Locates the pinwheels from the intersection of the real and imaginary contours of of polar OR map .
"""
        Locates the pinwheels from the intersection of the real and
        imaginary contours of of polar OR map.
        """
self
re_contours
im_contours
intersections
silence_warnings