mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
iradon_sart: Style fixes.
This commit is contained in:
1 parent
116e1dd571
commit
266b202226
1 file changed
+1
@@ -288,6 +288,7 @@ def order_angles_golden_ratio(theta):
|
||||
Medical Imaging, IEEE Transactions on 26.1 (2007): 68-76.
|
||||
"""
|
||||
interval = 180
|
||||
|
||||
def angle_distance(a, b):
|
||||
difference = a - b
|
||||
return min(abs(difference % interval), abs(difference % -interval))
|
||||
|
||||
Reference in new issue
Block a user