mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
change nPixels for CTB
This commit is contained in:
1 parent
2691e88f73
commit
2d27be9dd8
1 file changed
+2
-2
@@ -76,7 +76,7 @@ inline CtbImageOutputs computeCtbImageSize(const CtbImageInputs &in) {
|
||||
in.mode == slsDetectorDefs::ANALOG_AND_DIGITAL) {
|
||||
int nAnalogChans = __builtin_popcount(in.adcMask);
|
||||
|
||||
out.nPixelsX += nAnalogChans;
|
||||
out.nPixelsX += nAnalogChans * in.nAnalogSamples;
|
||||
out.nAnalogBytes =
|
||||
nAnalogChans * num_bytes_per_analog_channel * in.nAnalogSamples;
|
||||
LOG(logDEBUG1) << " Number of Analog Channels:" << nAnalogChans
|
||||
@@ -137,7 +137,7 @@ inline CtbImageOutputs computeCtbImageSize(const CtbImageInputs &in) {
|
||||
in.mode == slsDetectorDefs::DIGITAL_AND_TRANSCEIVER) {
|
||||
int nTransceiverChans = __builtin_popcount(in.transceiverMask);
|
||||
|
||||
out.nPixelsX += nTransceiverChans;
|
||||
out.nPixelsX += nTransceiverChans * in.nTransceiverSamples;
|
||||
out.nTransceiverBytes = nTransceiverChans *
|
||||
num_bytes_per_transceiver_channel *
|
||||
in.nTransceiverSamples;
|
||||
|
||||
Reference in new issue
Block a user