iradon_sart: Style fixes.

This commit is contained in:
Jostein Bø Fløystad
2013-07-05 13:14:38 +02:00
parent 116e1dd571
commit 266b202226
+1
View File
@@ -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))