Bright Start Mask creation from the .reg files


(Guillaume Desprez) #1

Hello @jbosch,

Following the discussion in Nyons about emulateHscCoadd.py, @jcoupon and I would like to know which functions of the pipeline we should use to be able to create the masks from the BrightStarMask.reg files.

Thanks a lot.

Guillaume


(Jim Bosch) #2

It looks like the code to do this is unfortunately baked into AssembleCoaddTask, so it might not be something you can easily run directly on an emulated coadd.

You can, of course, copy it into a separate class. The code starts here:

with most of the code you’d want to copy here:

I’ve just created DM-15030 to get this code separated from AssembleCoaddTask so it can be called more easily in the future, but please don’t wait for that, as I’m not sure when it will get scheduled.