Merge branch 'm3' into eiger

This commit is contained in:
2020-07-29 17:21:14 +02:00
24 changed files with 517 additions and 455 deletions

View File

@ -462,6 +462,7 @@ class Mythen3Data : public GeneralData {
*/
void SetDynamicRange(int dr, bool tgEnable) {
imageSize = nPixelsX * nPixelsY * ((double)dr / 8.00);
packetsPerFrame = tgEnable ? 2 : 20;
dataSize = imageSize / packetsPerFrame;
packetSize = headerSizeinPacket + dataSize;
LOG(logINFO) << "PacketSize: " << packetSize;