Repository navigation
ITS: mask overflow pixels only with a preceding ROF - #16194
Conversation
The clusterer keeps each chip's last ROF data to mask the pixels which fired again in the next ROF. The BC distance was taken in absolute value, so the data kept from a TF processed before could mask the pixels of a ROF which is not later than it: a TF decoded again with the same IRs (as the raw reader's --loop does) lost all clusters of the chips fired in a single ROF, and the result depended on which TFs an instance processed before. Use the old data only if it precedes the current ROF.
|
@ktf it seems to be correct, but I think in practice this does not apply since we do not use masking AFAIK. In any case TFs are not guaranteed to be continuous in the CTF so arguably the mask should be reset entirely if the distance is more than one TF. I do not see how even with --loop you can trigger discarding all data in a ROF unless there is only a single ROF in the TF. Ruben knows this better than me. Also the ROFs in a TF are I think guaranteed to be from the same TF by the decoder (excluding orbit corruption). |
|
I agree with @f3sch : apart from masking not being used (we use squashing), the CTF is guaranteed not to have consecutive TFs (unless there was only 1 EPN in the processing), so we never process neighbouring TFs. |
The clusterer keeps each chip's last ROF data to mask the pixels which
fired again in the next ROF. The BC distance was taken in absolute value,
so the data kept from a TF processed before could mask the pixels of a
ROF which is not later than it: a TF decoded again with the same IRs (as
the raw reader's --loop does) lost all clusters of the chips fired in a
single ROF, and the result depended on which TFs an instance processed
before. Use the old data only if it precedes the current ROF.