rockverse.dect.DECTGroup.preprocess#
- DECTGroup.preprocess(restart=False)[source]#
Perform the preprocessing steps for Dual Energy Computed Tomography analysis:
Hash input data (voxel images and calibration material attributes).
Check hash depencies to guarantee simulation integrity.
Generate Monte Carlo calibration coefficient matrices if needed.
This method uses hash functions to detect changes in input data or intermediate results that might require reprocessing.
- Parameters:
restart (bool, optional) – If True, force recalculation of all preprocessing steps, ignoring existing results. Default is False.