Modifications in preparation to MAX IV experiment
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <iostream>
|
||||
#include "../common/Logger.h"
|
||||
#include "../writer/HDF5Writer.h"
|
||||
#include "../common/FrameTransformation.h"
|
||||
#include "../receiver/FrameTransformation.h"
|
||||
#include "../common/RawToConvertedGeometry.h"
|
||||
#include "../jungfrau/JFCalibration.h"
|
||||
#include "../writer/HDF5NXmx.h"
|
||||
@@ -32,7 +32,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
std::chrono::microseconds period_us((rate == 0) ? 0 : (int64_t) (1.0e6 / rate));
|
||||
|
||||
HDF5File data(argv[1], false, false, false);
|
||||
HDF5File data(argv[1], false, false);
|
||||
HDF5DataSet dataset(data, "/entry/data/data");
|
||||
HDF5DataSpace file_space(dataset);
|
||||
|
||||
@@ -116,7 +116,7 @@ int main(int argc, char **argv) {
|
||||
.pixel_is_signed = false,
|
||||
.pixel_is_float = false,
|
||||
.algorithm = CompressionAlgorithm::NO_COMPRESSION,
|
||||
.channel = "sc0"
|
||||
.channel = "default"
|
||||
});
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ int main(int argc, char **argv) {
|
||||
logger.Info("Write HDF5 master file");
|
||||
|
||||
EndMessage end_message;
|
||||
end_message.number_of_images = x.GetImageNum();
|
||||
end_message.max_image_number = x.GetImageNum();
|
||||
HDF5Metadata::NXmx(start_message, end_message);
|
||||
|
||||
logger.Info("Writing done");
|
||||
|
||||
Reference in New Issue
Block a user