Further enhacements

This commit is contained in:
2024-04-29 14:13:35 +02:00
parent 870d0c4e43
commit 64dbd2291e
65 changed files with 808 additions and 850 deletions
+3 -6
View File
@@ -831,13 +831,10 @@ float DiffractionExperiment::GetPolarizationFactor() const {
return rad_int_polarization_factor;
}
DiffractionExperiment &DiffractionExperiment::SaveCalibration(bool input) {
dataset.SaveCalibration(input);
return *this;
}
bool DiffractionExperiment::GetSaveCalibration() const {
return dataset.GetSaveCalibration();
// Calibration is saved if more than 4 images
// to limit cases were size of the file is determined by the calibration
return (GetImageNum() > 4) && (detector.GetDetectorType() == DetectorType::JUNGFRAU);
}
DiffractionExperiment &DiffractionExperiment::StorageCellDelay(std::chrono::nanoseconds input) {