Commit 3b750e16 authored by Olga Stamati's avatar Olga Stamati
Browse files

average multiple sphere projections

parent 3117fd43
Pipeline #96815 passed with stage
in 2 minutes and 17 seconds
......@@ -300,6 +300,7 @@ def projectSphereMM(spheresPositionMM, radiiMM, ROIcentreMM=None, ROIradiusMM=No
# spheresPositionMM.astype('<f4'),
# displacementsMM.astype('<f4'),
# projectionXmm)
projectionXmm /= n_delta
elif ROIcentreMM is not None and ROIradiusMM is not None:
# Make sure there's only one sphere:
assert(len(spheresPositionMM.ravel())==3), "projectSphere.projectSphereMM(): in ROI mode I want only one sphere"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment