Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Update aita.py
Browse files Browse the repository at this point in the history
Restrict to 0 90 in grelon function
  • Loading branch information
Chauve authored Oct 19, 2016
1 parent 143b99d commit 2608d2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aita.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,8 @@ def grelon(self):
acos=xi*xc+yi*yc

angle=np.arccos(acos)*180./math.pi
id=np.where(angle>90)
angle[id]=180-angle[id]

return im2d.image2d(angle,self.phi1.res)

Expand Down

0 comments on commit 2608d2d

Please sign in to comment.