@deprecated(since=u'1.3', message=_DEPRECATION_MESSAGE, alternative=u':func:`~astropy.coordinates.matrix_utilities.angle_axis`')
def angle_axis(matrix):
 m = np.asmatrix(matrix)
 return matrix_utilities.angle_axis(m.view(np.ndarray))

@ deprecated ( since = u'1.3' , message = _DEPRECATION_MESSAGE , alternative = u':func:`~astropy.coordinates.matrix_utilities.angle_axis`' ) def angle_axis ( matrix ) : m = np . asmatrix ( matrix ) return matrix_utilities . angle_axis ( m . view ( np . ndarray ) )
angle of rotation and rotation axis for a given rotation matrix .