tomwer.core.reconstruction.cor.anglemode.find_angles_pair#
- tomwer.core.reconstruction.cor.anglemode.find_angles_pair(mode, projection_angles)#
Find a pair of opposite projections for CoR computation.
- Parameters:
mode (
CorAngleMode) – Angle selection mode. Either a CorAngleMode or a value convertible to it.projection_angles (
dict[float,DataUrl]) – Mapping from projection angle (in degrees) to the corresponding data URL.
- Return type:
tuple[CoRResource|None,CoRResource|None]- Returns:
The two selected projections as CoRResource instances, or (None, None) if no suitable pair can be found.