To be used with NuSTAR event files to identify Stray Light regions
There are two detailed example notebooks here on how to use the regfile program, one including point source removal and another showing region generation for a difficult SL shape.
Python 3.6 or higher and the following packages called by regfile:
numpy
matplotlib
astropy
from nustar_gen: info, utils
scipy
skimage
Anything from code improvement suggestions to new ideas for making and working with region files is very welcome! Feel free to say hi on the NuSTAR Slack channel, which you can join from the NuSTAR Observer's page.
