mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
bugfix hdf5 threshold ev
This commit is contained in:
parent
b96b1849cd
commit
85a6d82d9f
@ -377,7 +377,7 @@ class EigerMasterAttributes : public MasterAttributes {
|
|||||||
DataSpace dataspace = DataSpace(H5S_SCALAR);
|
DataSpace dataspace = DataSpace(H5S_SCALAR);
|
||||||
DataSet dataset = group->createDataSet(
|
DataSet dataset = group->createDataSet(
|
||||||
"Threshold Energy", PredType::NATIVE_INT, dataspace);
|
"Threshold Energy", PredType::NATIVE_INT, dataspace);
|
||||||
dataset.write(&threshold, PredType::NATIVE_INT);
|
dataset.write(&thresholdEnergyeV, PredType::NATIVE_INT);
|
||||||
DataSpace dataspaceAttr = DataSpace(H5S_SCALAR);
|
DataSpace dataspaceAttr = DataSpace(H5S_SCALAR);
|
||||||
StrType strdatatype(PredType::C_S1, 256);
|
StrType strdatatype(PredType::C_S1, 256);
|
||||||
Attribute attribute =
|
Attribute attribute =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user