DiffractionExperiment: Add option to check if rotation indexing is enabled (goniometer present + rotation indexing)
This commit is contained in:
@@ -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