v.1.0.0-rc.32

This commit is contained in:
2025-03-24 12:16:33 +01:00
parent 19be3575f0
commit a30707964d
176 changed files with 1360 additions and 710 deletions
+7 -5
View File
@@ -9,7 +9,7 @@
#include "../writer/HDF5Writer.h"
#include "../writer/HDF5NXmx.h"
#include "../compression/JFJochCompressor.h"
#include "../image_analysis/AzimuthalIntegrationProfile.h"
#include "../common/AzimuthalIntegrationProfile.h"
#include <nlohmann/json.hpp>
using namespace std::literals::chrono_literals;
@@ -210,11 +210,12 @@ TEST_CASE("HDF5MasterFile_RadInt", "[HDF5][Full]") {
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
x.DetectorDistance_mm(50).BeamX_pxl(1000).BeamY_pxl(1000);
x.QSpacingForAzimInt_recipA(0.1).LowQForAzimInt_recipA(0.1).HighQForAzimInt_recipA(4);
x.QSpacingForAzimInt_recipA(0.1).QRangeForAzimInt_recipA(0.1, 4.0);
x.FilePrefix("test01_rad_int").ImagesPerTrigger(950);
AzimuthalIntegrationMapping mapping(x);
std::vector<uint32_t> pixel_mask(x.GetPixelsNum(), 0);
AzimuthalIntegration mapping(x, pixel_mask);
AzimuthalIntegrationProfile profile(mapping);
StartMessage start_message;
@@ -410,9 +411,10 @@ TEST_CASE("HDF5Writer_Rad_Int_Profile", "[HDF5][Full]") {
RegisterHDF5Filter();
DiffractionExperiment x(DetectorGeometry(8, 2, 8, 36));
x.DetectorDistance_mm(50).BeamX_pxl(1000).BeamY_pxl(1000);
x.QSpacingForAzimInt_recipA(0.1).LowQForAzimInt_recipA(0.1).HighQForAzimInt_recipA(4);
x.QSpacingForAzimInt_recipA(0.1).QRangeForAzimInt_recipA(0.1, 4.0);
AzimuthalIntegrationMapping mapping(x);
std::vector<uint32_t> pixel_mask(x.GetPixelsNum(), 0);
AzimuthalIntegration mapping(x, pixel_mask);
std::vector<float> rad_int_profile(mapping.GetBinNumber(), 4.0);
std::vector<float> rad_int_avg(mapping.GetBinNumber(), 0.33);