Commented centroid
Compare changes
+ 302
− 92
@@ -56,6 +58,26 @@ def find_curvature(image, frangex=None, frangey=None,
@@ -175,7 +197,7 @@ def _esrf_centroid(image, threshold=THRESHOLD, curvature=(CURVE_A, CURVE_B)):
@@ -186,7 +208,8 @@ def _new_centroid(image, threshold=THRESHOLD, curvature=(CURVE_A, CURVE_B)):
@@ -257,11 +280,12 @@ class hRIXS:
@@ -271,101 +295,287 @@ class hRIXS: