Tim
The functions to extract the relevant pulses from XGM and TIM data are now relying on the bunch pattern, instead of processing each pattern situation individually. Mostly cleanXGMdata(), selectSASEfromXGM() and getTIMapd() were rewritten.
Notebook for test:
2019-10-28_TIM_XGM_using_bunch_pattern.ipynb
2019-10-28_TIM_XGM_using_bunch_pattern.pdf
Sometimes the bunch pattern is not correct, in this case it is better to load the sase-resolved data of XGM.
Edited by Laurent Mercadier