DiffractionExperiment: Add option to check if rotation indexing is enabled (goniometer present + rotation indexing)
This commit is contained in:
1 parent
e96b04eb3a
commit
af2ec340db
2 files changed
+6
No files matched your search
@@ -1642,3 +1642,7 @@ int64_t DiffractionExperiment::GetDarkMaskNumberOfFrames() const {
|
||||
return GetDarkMaskSettings().GetNumberOfFrames();
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool DiffractionExperiment::IsRotationIndexing() const {
|
||||
return GetGoniometer().has_value() && indexing.GetRotationIndexing();
|
||||
}
|
||||
@@ -404,6 +404,8 @@ public:
|
||||
|
||||
bool IsDetectIceRings() const;
|
||||
int64_t GetDarkMaskNumberOfFrames() const;
|
||||
|
||||
bool IsRotationIndexing() const;
|
||||
};
|
||||
|
||||
#endif //DIFFRACTIONEXPERIMENT_H
|
||||
Reference in new issue
Block a user