Skip to content

Commit

Permalink
Update meds/util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Dec 27, 2020
1 parent f4362c1 commit 4b9467a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meds/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ def thetaphi_to_unitvecs_ruv(theta,phi):

rhat = numpy.array([sint*cosp,sint*sinp,cost]).T
that = numpy.array([cost*cosp,cost*sinp,-1.0*sint]).T
phat = numpy.array([-1.0*sinp,cosp,numpy.zeros_like(0.0)]).T
phat = numpy.array([-1.0*sinp,cosp,numpy.zeros_like(sinp)]).T

return rhat,phat,-1.0*that


0 comments on commit 4b9467a

Please sign in to comment.