raiseValueError(f"No reconstruction with SC={scatter_corrected}, AC={attenuation_corrected} available")
raiseValueError(
f"No reconstruction with SC={scatter_corrected}, AC={attenuation_corrected} available"
)
# sort oldest to be first
# sort oldest to be first
iflen(dicom_images)>1:
iflen(dicom_images)>1:
logger.warning(f"Multiple reconstructions ({len(dicom_images)}) with SC={scatter_corrected}, AC={attenuation_corrected} for projection {projection.SeriesDescription} of patient {projection.PatientID}")
f"Multiple reconstructions ({len(dicom_images)}) with SC={scatter_corrected}, AC={attenuation_corrected} for projection {projection.SeriesDescription} of patient {projection.PatientID}"