xcoord should not be hardcoded for this version for eiger and jungfrau

This commit is contained in:
Dhanya Maliakal
2017-10-20 10:49:02 +02:00
parent 801817b749
commit 210bcb081d
4 changed files with 12 additions and 17 deletions

View File

@ -369,8 +369,9 @@ void DataProcessor::ProcessAnImage(char* buf) {
}
// fix x coord that is currently not provided by detector
header->xCoord = xcoord;
// x coord for those not having standard header
if (!generalData->standardheader)
header->xCoord = xcoord;
if (file)
file->WriteToFile(buf, generalData->imageSize + sizeof(sls_detector_header), fnum-firstMeasurementIndex, nump);