Improvements before MAX IV test

This commit is contained in:
2024-04-25 20:11:58 +02:00
parent 2c8e1fd83d
commit ea70b27e85
80 changed files with 1835 additions and 1781 deletions

View File

@@ -176,7 +176,7 @@ void StrongPixelSet::ReadFPGAOutput(const DiffractionExperiment & experiment,
for (int j = 0; j < 32; j++) {
if (bitset.test(j)) {
size_t col = (npixel | j) % RAW_MODULE_COLS;
AddStrongPixel(col, line, output.pixels[npixel]);
AddStrongPixel(col, line, output.pixels[npixel | j]);
}
}
}
@@ -192,7 +192,7 @@ void StrongPixelSet::ReadFPGAOutput(const DiffractionExperiment & experiment,
for (int j = 0; j < 32; j++) {
if (bitset.test(j)) {
size_t col = (npixel | j) % RAW_MODULE_COLS;
AddStrongPixel(col, line, ((int32_t *) output.pixels)[npixel]);
AddStrongPixel(col, line, ((int32_t *) output.pixels)[npixel | j]);
}
}
}