changes upto the receiver, not incl gui

This commit is contained in:
Dhanya Maliakal
2017-10-03 10:44:05 +02:00
parent afc08f8c30
commit bb817733ff
5 changed files with 191 additions and 24 deletions

View File

@ -87,6 +87,9 @@ class multiSlsDetector : public slsDetectorUtils {
/** size of the data that are transfered from all detectors */
int dataBytes;
/** data bytes including gap pixels transferred from all detectors */
int dataBytesInclGapPixels;
/** total number of channels for all detectors */
int numberOfChannels;
@ -94,12 +97,18 @@ class multiSlsDetector : public slsDetectorUtils {
/** total number of channels for all detectors in one dimension*/
int numberOfChannel[2];
/** total number of channels including gap pixels in one dimension */
int numberOfChannelInclGapPixels[2];
/** total number of channels for all detectors */
int maxNumberOfChannels;
/** max number of channels for all detectors in one dimension*/
int maxNumberOfChannel[2];
/** max number of channels including gap pixels for all detectors in one dimension*/
int maxNumberOfChannelInclGapPixels[2];
/** max number of channels allowed for the complete set of detectors in one dimension */
int maxNumberOfChannelsPerDetector[2];
@ -363,10 +372,14 @@ class multiSlsDetector : public slsDetectorUtils {
int getTotalNumberOfChannels(dimension d);
int getTotalNumberOfChannelsInclGapPixels(dimension d);
int getMaxNumberOfChannels();
int getMaxNumberOfChannels(dimension d);
int getMaxNumberOfChannelsInclGapPixels(dimension d);
int getMaxNumberOfChannelsPerDetector(dimension d){return thisMultiDetector->maxNumberOfChannelsPerDetector[d];};
/** returns the enable if data will be flipped across x or y axis