In the rare case when the stop of a burst coincides with the last photon in the timestamps array AND the last two photons are the same timestamps (e.g. donor and acceptor channel registered a photon during the same 10ns time bin) then the method Bursts.recompute_index_reduce raises an error.
In the rare case when the stop of a burst coincides with the last photon in the timestamps array AND the last two photons are the same timestamps (e.g. donor and acceptor channel registered a photon during the same 10ns time bin) then the method
Bursts.recompute_index_reduce
raises an error.The problem is at this line:
and happens because
it
becomes bigger thantimes_reduced.size
.Kudos to @chungjjang80 for reporting this.