Changes between Version 4 and Version 5 of stacking_coverage.20130307
- Timestamp:
- Apr 16, 2013, 4:09:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
stacking_coverage.20130307
v4 v5 1 1 == 2013-04-16 == 2 2 3 While testing the input FWHM cut, I discovered that an image that appeared valid by eye was being flagged during the PSF matching stage as having a overly deviant chi ^2 value. A study of the code revealed that the chi^2 value used is calculated in the following way:3 While testing the input FWHM cut, I discovered that an image that appeared valid by eye was being flagged during the PSF matching stage as having a overly deviant chi!^2 value. A study of the code revealed that the chi!^2 value used is calculated in the following way: 4 4 5 1. For all valid stamps in the PSF match, the flux and squared residual are fit with a quadratic function (x0 + x1 * flux + x2 * flux ^2).5 1. For all valid stamps in the PSF match, the flux and squared residual are fit with a quadratic function (x0 + x1 * flux + x2 * flux!^2). 6 6 2. This quadratic function is subtracted from the squared residual, providing a flux-neutral measurement of the squared residuals. 7 3. The RMS scatter of these remaining residuals is saved as the chi ^2 value for the PSF match (there's a sum over all used kernels, but the example case has only a single kernel).7 3. The RMS scatter of these remaining residuals is saved as the chi!^2 value for the PSF match (there's a sum over all used kernels, but the example case has only a single kernel). 8 8 9 The following table shows the set of PSF match values, along with the parameters of the quadratic function :9 The following table shows the set of PSF match values, along with the parameters of the quadratic function. This table shows that we seem to be needlessly matching PSFs for images already rejected at the input stage. In addition, there appear to be 2 iterations of this function (pmSubtractionRejectStamps) being called for images 7+. 10 10 11 11 || Nstamp || mean || rms || x0 || x1 || x2 || Image || Rejected? || … … 29 29 30 30 31 We can now plot up the data and quadratic fits to validate their quality: 32 33 ||Image || Plot || 34 || 0 || [[Image(fit.0.png)]] || 35 || 1 || [[Image(fit.1.png)]] || 36 || 2 || [[Image(fit.2.png)]] || 37 || 3 || [[Image(fit.3.png)]] || 38 || 4 || [[Image(fit.4.png)]] || 39 || 5 || [[Image(fit.5.png)]] || 40 || 6 || [[Image(fit.6.png)]] || 41 || 7a || [[Image(fit.7.png)]] || 42 || 7b || [[Image(fit.8.png)]] || 43 || 8a || [[Image(fit.9.png)]] || 44 || 8b || [[Image(fit.10.png)]] || 45 || 9a || [[Image(fit.11.png)]] || 46 || 9b || [[Image(fit.12.png)]] || 47 || 10a || [[Image(fit.13.png)]] || 48 || 10b || [[Image(fit.14.png)]] || 49 || 11a || [[Image(fit.15.png)]] || 50 || 11b || [[Image(fit.16.png)]] || 31 51 == 2013-04-08 == 32 52
