mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
angular conversion data ready callback working also with 0 positions, and multislsdetector write data file fixed
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@256 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
4b3fecbaf0
commit
5f78b4534f
@ -3416,10 +3416,10 @@ int multiSlsDetector::writeDataFile(string fname, double *data, double *err, dou
|
||||
off+=n;
|
||||
|
||||
if (pe)
|
||||
pe=pe+off;
|
||||
pe=err+off;
|
||||
|
||||
if (pa)
|
||||
pa=pa+off;
|
||||
pa=ang+off;
|
||||
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,8 @@ void postProcessing::doProcessing(double *lfdata, int delflag, string fname) {
|
||||
writeDataFile (fname+ext, ffcdata, ffcerr,ang);
|
||||
}
|
||||
|
||||
if (*correctionMask&(1<< ANGULAR_CONVERSION) && getNumberOfPositions()>0) {
|
||||
// if (*correctionMask&(1<< ANGULAR_CONVERSION) && getNumberOfPositions()>0) {
|
||||
if (*correctionMask&(1<< ANGULAR_CONVERSION)) {
|
||||
#ifdef VERBOSE
|
||||
cout << "**************Current position index is " << getCurrentPositionIndex() << endl;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user