(AGIPD CORRECTION) FEAT/Fill INDEX differently to account missing trains and have consistency between raw and corr
This implementation is to account for missing trains and to have a consistency between INDEX contents in the raw and corr data (Sanity check).
The issue was raised due to a problem in proposal 002542 run 229 sequence 12. The INDEX/(first, counts) in CORR files were not consistent with the RAW files. (INDEX/first in CORR missed the first element which was a missing train at the beginning)
The implementation has been changed for having less function trying to achieve the same purpose.
Edited by Karim Ahmed