jfjoch_viewer: There is central place for default DiffractionExperiment in both reader classes

This commit is contained in:
2025-09-22 10:03:47 +02:00
parent 0ddea1b143
commit dce9d65191
7 changed files with 36 additions and 24 deletions

View File

@@ -57,8 +57,7 @@ std::shared_ptr<JFJochReaderDataset> JFJochHttpReader::UpdateDataset_i() {
return {};
auto dataset = std::make_shared<JFJochReaderDataset>();
dataset->experiment.DetectIceRings(true);
dataset->experiment.IndexingAlgorithm(IndexingAlgorithmEnum::Auto);
dataset->experiment = default_experiment;
// JFJochReader is always using int32_t
dataset->experiment.BitDepthImage(32);