diff --git a/simpa/core/device_digital_twins/__init__.py b/simpa/core/device_digital_twins/__init__.py index c34d1760..cb5c5f3b 100644 --- a/simpa/core/device_digital_twins/__init__.py +++ b/simpa/core/device_digital_twins/__init__.py @@ -86,12 +86,12 @@ def update_settings_for_use_of_model_based_volume_creator(self, global_settings: @abstractmethod def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings): """ - This method can be overwritten by a PA device if the device poses special constraints to the - volume that should be considered by the segmentation-based volume creator. + This method can be overwritten by a PA device if the device poses special constraints to the + volume that should be considered by the segmentation-based volume creator. - :param global_settings: Settings for the entire simulation pipeline. - :type global_settings: Settings - """ + :param global_settings: Settings for the entire simulation pipeline. + :type global_settings: Settings + """ def get_field_of_view_mm(self) -> np.ndarray: """ diff --git a/simpa/core/device_digital_twins/pa_devices/__init__.py b/simpa/core/device_digital_twins/pa_devices/__init__.py index b35366ef..2755ea88 100644 --- a/simpa/core/device_digital_twins/pa_devices/__init__.py +++ b/simpa/core/device_digital_twins/pa_devices/__init__.py @@ -143,7 +143,7 @@ def check_settings_prerequisites(self, global_settings) -> bool: def update_settings_for_use_of_model_based_volume_creator(self, global_settings): pass - def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings): + def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings): pass def serialize(self) -> dict: diff --git a/simpa/core/device_digital_twins/pa_devices/ithera_msot_acuity.py b/simpa/core/device_digital_twins/pa_devices/ithera_msot_acuity.py index 4592116c..4a6bf23d 100644 --- a/simpa/core/device_digital_twins/pa_devices/ithera_msot_acuity.py +++ b/simpa/core/device_digital_twins/pa_devices/ithera_msot_acuity.py @@ -206,7 +206,7 @@ def update_settings_for_use_of_model_based_volume_creator(self, global_settings) }) volume_creator_settings[Tags.STRUCTURES][Tags.BACKGROUND] = background_settings - def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings: Settings, + def update_settings_for_use_of_segmentation_based_volume_creator(self, global_settings, add_layers: list = [Tags.ADD_US_GEL, Tags.ADD_MEDIPRENE, Tags.ADD_HEAVY_WATER],