Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_diffim, pipe_tasks
-
Labels:
-
Story Points:8
-
Epic Link:
-
Sprint:AP S19-1, AP S19-2
-
Team:Alert Production
Description
An option that might improve the DcrModel is to make the model relative to a reference image. Each subfilter model plane would act like a "rubber sheet" that can enhance or suppress the flux of the reference image in a pixel, rather than storing the absolute flux for that subfilter. This may make it easier to apply regularization, and ideally will also prevent noise being amplified.
If this feature ends up creating more problems than it solves, or otherwise does not perform as well as the original code, it should be closed as Won't Fix.
I explored using a relative model throughout building the DcrModel, but found it increased the code complexity and computation time. I was able to get the same results by using a smoothly-varying relative model in frequency regularization, which is comparatively quick to calculate. The new regularization significantly decreases chromatic artifacts in the wings of sources, and for the first time allows sensible color images to be made directly from the DcrModel subfilter images (see below).
To produce the above image, I generated 12 simulated images using StarFast with airmasses ranging from 1.0 to 2.0, each including main sequence stars with Kurucz SEDs and quasars using the Vanden Berk quasar spectrum with redshifts from 0 to 4. I ran dcrAssembleCoadd on the ingested images, and loaded the resulting three DcrCoadd subfilter exposures into DS9, using the longest wavelength subfilter for the red channel, the center subfilter for the green channel, and the shortest wavelength subfilter for the blue channel. Bright objects are clipped and white for this color scale, but for the fainter objects those that are very red are quasars and while those that are blue are mostly cool stars with a steep spectrum in g band.