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.
No clue, all the code that I still have is in this repository. You could checkout an older git commit from around the time that I did most of the work on this and see if it is in there.
https://github.com/SamSweere/xmm-epicpn-simulator/blob/b12351e475532dee807fb795ec7ec07e9858dbee/xmm/utils.py#L25
I can't find this function anywhere in the code. Do you still have it somewhere @SamSweere?