DiffractionExperiment: Remove indexing period (indexing works at the same pace as spot finding)

This commit is contained in:
2023-04-13 15:30:25 +02:00
parent 94e6254746
commit ae44b2eedf
11 changed files with 90 additions and 127 deletions

View File

@@ -681,15 +681,6 @@ TEST_CASE("DiffractionExperiment_RadialIntegration_QSpacing","[DiffractionExperi
REQUIRE(y.GetQSpacingForRadialInt_recipA() == Approx(0.456));
}
TEST_CASE("DiffractionExperiment_IndexingPeriod","[DiffractionExperiment]") {
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
x.DetectorDistance_mm(75).PhotonEnergy_keV(WVL_1A_IN_KEV);
x.FrameTime(1ms).Summation(3);
x.IndexingPeriod(9ms);
REQUIRE(x.GetIndexingPeriod() == std::chrono::milliseconds(9));
REQUIRE(x.GetIndexingStride() == 3);
}
TEST_CASE("DiffractionExperiment_StorageCells","[DiffractionExperiment]") {
const int64_t num_triggers = 20;
DiffractionExperiment x;