featuremapper/analysis/pinwheels.py
def polar_preference(self, pref):
        """
        Turns hue representation to polar representation.
        Hue representation uses values expected in the range 0-1.0
        """
        polarfn = lambda x: cmath.rect(1.0, x * 2 * math.pi)
        polar_vecfn = np.vectorize(polarfn)
        return polar_vecfn(pref)

        Turns hue representation to polar representation.
        Hue representation uses values expected in the range 0-1.0
        
Turns hue representation to polar representation.
Hue representation uses values expected in the range 0-1.0
Turns hue representation to polar representation . Hue representation uses values expected in the range 0 - 1 . 0
def polar_preference(self, pref):
        polarfn = lambda x: cmath.rect(1.0, x * 2 * math.pi)
        polar_vecfn = np.vectorize(polarfn)
        return polar_vecfn(pref)
def polar_preference ( self , pref ) : polarfn = lambda x : cmath . rect ( 1.0 , x * 2 * math . pi ) polar_vecfn = np . vectorize ( polarfn ) return polar_vecfn ( pref )
Turns hue representation to polar representation.
Turns hue representation to polar representation .
"""
        Turns hue representation to polar representation.
        Hue representation uses values expected in the range 0-1.0
        """
self
pref