DiffractionExperiment: Add option to check if rotation indexing is enabled (goniometer present + rotation indexing)

This commit is contained in:
2026-01-19 11:57:16 +01:00
parent e96b04eb3a
commit af2ec340db
2 changed files with 6 additions and 0 deletions

View File

@@ -1642,3 +1642,7 @@ int64_t DiffractionExperiment::GetDarkMaskNumberOfFrames() const {
return GetDarkMaskSettings().GetNumberOfFrames();
return 0;
}
bool DiffractionExperiment::IsRotationIndexing() const {
return GetGoniometer().has_value() && indexing.GetRotationIndexing();
}

View File

@@ -404,6 +404,8 @@ public:
bool IsDetectIceRings() const;
int64_t GetDarkMaskNumberOfFrames() const;
bool IsRotationIndexing() const;
};
#endif //DIFFRACTIONEXPERIMENT_H