I am working on the effect of LEO Satellites on LSST images. I simulate strong lenses with Lenstronomy, and add mock satellite trails on those. To detect and mask these trails, I want to use maskStreaks module of the LSST Science Pipelines. Since the pipeline functions require full image package (including background, noise, mask layers and instrument information) I import HSC single frame images using the butler and inject the lenses I simulated with streaks. However, I am having trouble with detecting the synthetic streaks using the maskStreaks function. I changed config.nSigma = 0.1 config.invSigma = 0.1 parameters regarding the features of the streaks I simulate but can’t say that it worked. How should I approach to this problem?
Hi @Aysu , could you provide more details about the problem, for example the actual error messages? Also, which version of the LSST Science Pipelines are you using? @mrawls would be a good person to contact for help.
One quick note is that maskStreaks
operates on the DETECTED
mask plane of the image, so you will have to make sure that is set in your test image. You can do that either by running detection as part of CalibrateImageTask
or DetectAndMeasureTask
, or by setting the mask plane manually after injecting the synthetic streak.