SamSweere / xmm-epicpn-simulator

Simulation code for XMM-Newton EPIC-pn data using SIXTE and SIMPUT, designed to create training data for deep learning based super-resolution and de-noising.
https://academic.oup.com/mnras/article/517/3/4054/6694110
4 stars 2 forks source link

Fix for empty events after filtering #31

Closed bojobo closed 3 months ago

bojobo commented 3 months ago

After filtering for a specific event pattern, it is possible that no events are left. If so, skip further steps in generation and ignore the used SIMPUT.