IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 4 and Version 5 of stacking_coverage.20130307


Ignore:
Timestamp:
Apr 16, 2013, 4:09:40 PM (13 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • stacking_coverage.20130307

    v4 v5  
    11== 2013-04-16 ==
    22
    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:
     3While 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:
    44
    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).
    66 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).
    88
    9 The following table shows the set of PSF match values, along with the parameters of the quadratic function:
     9The 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+.
    1010
    1111|| Nstamp || mean   || rms     || x0      || x1           || x2           || Image || Rejected? ||
     
    2929
    3030
     31We 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)]] ||
    3151== 2013-04-08 ==
    3252