def cr2me( self, vec ):
        """
        Transformation from cartesian to cylindrical
        vec must be in cartesian coordinates: [x, y, z]
        """
        T = np.array([\
            [ np.sqrt( vec[0] ** 2 + vec[1] ** 2 ), ZER,   ZER ],
            [ ZER,           np.arctan( vec[0] / vec[1] ),   ZER ],
            [ ZER,                                    ZER, ONE ]])
        tmp = np.array([ 1, 1, vec[2] ], dtype=FLOAT) 
        return np.dot( T, tmp )
dataset/ETHPy150Open saullocastro/mapy/mapy/model/coords.py/CoordC.cr2me/swapped operands of `/`