| | 1 | == Gaussian 1-D Convolution == |
| | 2 | |
| | 3 | In an attempt to remove some of the unexpected behavior in stacking and differencing, a new mode was added to the pmSubtraction code. This mode defines a new kernel type PM_SUBTRACTION_KERNEL_SIMPLE which breaks out from the current Alard-Lupton PSF matching code into work-alike replacement. |
| | 4 | |
| | 5 | Mathematically, instead of attempting to do the PSF matching with a sum of the product of Gaussians and polynomials, this SIMPLE kernel examines only the measured FWHM values for the two PSFs. From these values, a Gaussian kernel is constructed with sigma_kern^2^ = (FWHM_large^2^ - FWHM_small^2^)/(2 sqrt(2 log 2))^2^. The smaller PSF image is then convolved by this kernel and the results returned. |
| | 6 | |
| | 7 | Below are a series of comparison images from tests with real GPC1 data. The left panel shows the standard pmSubtraction kernels, and the right shows the new SIMPLE kernel. |
| | 8 | |
| | 9 | Convolved stack: |
| | 10 | [[Image(1dg_convolved_stack.jpg,800px)]] |
| | 11 | |
| | 12 | Unconvolved stack: |
| | 13 | |
| | 14 | [[Image(1dg_unconvolved_stack.jpg,800px)]] |
| | 15 | |
| | 16 | Warp-warp diff: |
| | 17 | |
| | 18 | [[Image(1dg_diff.jpg,800px)]] |
| | 19 | |
| | 20 | Real object zoom in diff: |
| | 21 | |
| | 22 | [[Image(1dg_diff_object.jpg,800px)]] |
| | 23 | |
| | 24 | |
| | 25 | After processing the SAS stacks and static sky with the 1-D Gaussian convolution, we can compare the timing for these stages between the two PSF matching codes using the dtime values listed in the database. For all subsequent plots, the x-axis shows the default time with the pmSubtraction kernels (SAS.20130620), and the y-axis shows the ratio of simple/default (SAS.20130703/SAS.20130620). |
| | 26 | |
| | 27 | [[Image(stack_conv.png)]] |
| | 28 | |
| | 29 | [[Image(stack_stack.png)]] |
| | 30 | |
| | 31 | [[Image(stack_script.png)]] |
| | 32 | |
| | 33 | [[Image(static_sky.png)]] |
| | 34 | |