Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttk
radioSphere
Commits
3b750e16
Commit
3b750e16
authored
Apr 21, 2022
by
Olga Stamati
Browse files
average multiple sphere projections
parent
3117fd43
Pipeline
#96815
passed with stage
in 2 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/projectSphere.py
View file @
3b750e16
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment