Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
2eb5854d
Commit
2eb5854d
authored
Apr 29, 2021
by
Pierre Paleo
Browse files
Make SinoCORFinder work for EDF files by using 'scan_range'
parent
e740e3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/estimators.py
View file @
2eb5854d
...
...
@@ -260,6 +260,8 @@ class SinoCORFinder:
def
_check_360
(
self
):
if
self
.
dataset_info
.
dataset_scanner
.
scan_range
==
360
:
return
if
not
is_fullturn_scan
(
self
.
dataset_info
.
rotation_angles
):
raise
ValueError
(
"Sinogram-based Center of Rotation estimation can only be used for 360 degrees scans"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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