Further enhacements
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user