Commit 2eb5854d authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Make SinoCORFinder work for EDF files by using 'scan_range'

parent e740e3bc
......@@ -260,6 +260,8 @@ class SinoCORFinder:
def _check_360(self):
if self.dataset_info.dataset_scanner.scan_range == 360:
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")
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