Rotate the vector described by angles theta,phi using the rotation matrix given as first argument.
Parameters : | rotmat : float, array-like shape (3,3)
theta : float, scalar or array-like
phi : float, scalar or array-like, optionnal
do_rot : bool, optional
lonlat : bool
|
---|---|
Returns : | angles : float, array
|
See also