core
- device_digital_twins
- detection_geometries
CurvedArrayDetectionGeometryCurvedArrayDetectionGeometry.check_settings_prerequisites()CurvedArrayDetectionGeometry.deserialize()CurvedArrayDetectionGeometry.get_detector_element_orientations()CurvedArrayDetectionGeometry.get_detector_element_positions_base_mm()CurvedArrayDetectionGeometry.serialize()CurvedArrayDetectionGeometry.update_settings_for_use_of_model_based_volume_creator()
DetectionGeometryBaseDetectionGeometryBase.deserialize()DetectionGeometryBase.get_detector_element_orientations()DetectionGeometryBase.get_detector_element_positions_accounting_for_device_position_mm()DetectionGeometryBase.get_detector_element_positions_accounting_for_field_of_view()DetectionGeometryBase.get_detector_element_positions_base_mm()DetectionGeometryBase.serialize()
LinearArrayDetectionGeometryLinearArrayDetectionGeometry.check_settings_prerequisites()LinearArrayDetectionGeometry.deserialize()LinearArrayDetectionGeometry.get_detector_element_orientations()LinearArrayDetectionGeometry.get_detector_element_positions_base_mm()LinearArrayDetectionGeometry.serialize()LinearArrayDetectionGeometry.update_settings_for_use_of_model_based_volume_creator()
PlanarArrayDetectionGeometryPlanarArrayDetectionGeometry.check_settings_prerequisites()PlanarArrayDetectionGeometry.deserialize()PlanarArrayDetectionGeometry.get_detector_element_orientations()PlanarArrayDetectionGeometry.get_detector_element_positions_base_mm()PlanarArrayDetectionGeometry.get_field_of_view_extent_mm()PlanarArrayDetectionGeometry.serialize()PlanarArrayDetectionGeometry.update_settings_for_use_of_model_based_volume_creator()
- illumination_geometries
- pa_devices
MSOTAcuityEchoInVision256TFRSOMExplorerP50PhotoacousticDevicePhotoacousticDevice.detection_geometryPhotoacousticDevice.illumination_geometriesPhotoacousticDevice.add_illumination_geometry()PhotoacousticDevice.check_settings_prerequisites()PhotoacousticDevice.deserialize()PhotoacousticDevice.get_detection_geometry()PhotoacousticDevice.get_illumination_geometry()PhotoacousticDevice.serialize()PhotoacousticDevice.set_detection_geometry()PhotoacousticDevice.update_settings_for_use_of_model_based_volume_creator()
DigitalDeviceTwinBaseDigitalDeviceTwinBase.__eq__()DigitalDeviceTwinBase.check_settings_prerequisites()DigitalDeviceTwinBase.deserialize()DigitalDeviceTwinBase.generate_uuid()DigitalDeviceTwinBase.get_field_of_view_mm()DigitalDeviceTwinBase.serialize()DigitalDeviceTwinBase.update_settings_for_use_of_model_based_volume_creator()
- detection_geometries
- processing_components
- monospectral
- noise
FieldOfViewCroppingIterativeqPAIIterativeqPAI.convergence_stopping_criterion()IterativeqPAI.extract_initial_data_from_hdf5()IterativeqPAI.forward_model_fluence()IterativeqPAI.iterative_absorption_reconstruction()IterativeqPAI.log_sum_squared_error()IterativeqPAI.preprocessing_for_iterative_qpai()IterativeqPAI.regularization_sigma()IterativeqPAI.resampling_for_iterative_qpai()IterativeqPAI.run()IterativeqPAI.stacking_to_3d()IterativeqPAI.standard_optical_properties()IterativeqPAI.update_absorption_estimate()
- multispectral
ProcessingComponentBase
- monospectral
- simulation_modules
- reconstruction_module
create_reconstruction_settings()DelayAndSumAdapterreconstruct_delay_and_sum_pytorch()DelayMultiplyAndSumAdapterreconstruct_delay_multiply_and_sum_pytorch()ReconstructionAdapterBaseReconstructionTestAdapterapply_b_mode()bandpass_filter_with_settings()butter_bandpass_filtering()butter_bandpass_filtering_with_settings()compute_delay_and_sum_values()compute_image_dimensions()get_apodization_factor()preparing_reconstruction_and_obtaining_reconstruction_settings()reconstruction_mode_transformation()tukey_bandpass_filtering()tukey_bandpass_filtering_with_settings()tukey_window_function()SignedDelayMultiplyAndSumAdapterreconstruct_signed_delay_multiply_and_sum_pytorch()TimeReversalAdapter
- volume_creation_module
SimulationModuleBase
- reconstruction_module
- class PipelineElementBase(global_settings: Settings)[source]
Bases:
objectDefines a pipeline element (either simulation or processing module) that implements a run method and can be called by running the pipeline’s simulate method.
- Parameters:
global_settings (Settings) – The SIMPA settings dictionary
- abstract run(digital_device_twin: DigitalDeviceTwinBase)[source]
Executes the respective simulation module
- Parameters:
digital_device_twin – The digital twin that can be used by the digital device_twin.
- simulate(simulation_pipeline: list, settings: Settings, digital_device_twin: DigitalDeviceTwinBase)[source]
This method constitutes the staring point for the simulation pipeline of the SIMPA toolkit.
- Parameters:
simulation_pipeline – a list of callable functions
settings – settings dictionary containing the simulation instructions
digital_device_twin – a digital device twin of an imaging device as specified by the DigitalDeviceTwinBase class.
- Raises:
TypeError – if one of the given parameters is not of the correct type
AssertionError – if the digital device twin is not able to simulate the settings specification
- Returns:
list with the save paths of the simulated data within the HDF5 file.