From 726e2cd855b39c7d45955d5adf3a203ad1affed4 Mon Sep 17 00:00:00 2001 From: malago86 Date: Thu, 4 Jan 2024 15:30:17 -0500 Subject: [PATCH] Added default ROI sizes --- Victre/Constants.py | 3 +++ Victre/Pipeline.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Victre/Constants.py b/Victre/Constants.py index e8d9e00..8998359 100644 --- a/Victre/Constants.py +++ b/Victre/Constants.py @@ -72,6 +72,9 @@ INSERTION_MAX_TRIES = 2000 INSERTION_MAX_TOTAL_ATTEMPTS = 20 +DEFAULT_ROI = {VICTRE_SPICULATED: [109, 109, 9], + VICTRE_CLUSTERCALC: [65, 65, 5]} + FLATFIELD_REPETITIONS = 1 FLATFIELD_DOSE_MULTIPLIER = 10 diff --git a/Victre/Pipeline.py b/Victre/Pipeline.py index ecae57f..d537dbb 100644 --- a/Victre/Pipeline.py +++ b/Victre/Pipeline.py @@ -93,7 +93,7 @@ def __init__(self, spectrum_file="./Victre/projection/spectrum/W28kVp_Rh50um_Be1mm.spc", lesion_file=None, materials=None, - roi_sizes=None, + roi_sizes=Constants.DEFAULT_ROI, arguments_generation=dict(), arguments_spiculated=dict(), arguments_mcgpu=dict(),