| | 1 | == Background Model and Stacks == |
| | 2 | |
| | 3 | |
| | 4 | The IPP performs the following sequence of operations to generate a stacked image: |
| | 5 | |
| | 6 | * We start with a raw image: Raw(x,y) |
| | 7 | |
| | 8 | * Burntool : We subtract fits to the persistence trails from bright |
| | 9 | stars (from the immediate image and those left behind by previous |
| | 10 | images). Affected areas have a 'suspect' mask bit raised in the |
| | 11 | mask image. |
| | 12 | |
| | 13 | * Detrend : |
| | 14 | * We adjust pixel values to compensate for a bias sag |
| | 15 | |
| | 16 | * We subtract a dark model of the form (C_0 + C_1 * exptime + C_2 * |
| | 17 | exptime * dettemp + C_3 * exptime * dettemp^2). this is a function |
| | 18 | of (x,y). |
| | 19 | |
| | 20 | * We multiply by a flat-field response F(x,y). This is measured |
| | 21 | from a flat-field screen in the dome, then modified based on |
| | 22 | photometric observations of stars (only for spatial frequencies < |
| | 23 | 1/1200 pixels or so). |
| | 24 | |
| | 25 | * for y-band, we subtract a fringe frame fitted to the fringe |
| | 26 | pattern. |
| | 27 | |
| | 28 | * Each exposure has a 2D background model subtracted: this is |
| | 29 | effectively a high-pass filter. In fact, it is a high-pass / |
| | 30 | low-pass filter: the individual chip images have the low-spatial |
| | 31 | frequency model subtracted; the low-spatial frequency model itself |
| | 32 | is saved for each exposure. |
| | 33 | |
| | 34 | * Each exposure is warped to a standardized pixel grid in a |
| | 35 | flux-conserving process. The output image products are called |
| | 36 | 'skycells' and represent about 1/75 of the focal plane (~22 arcmin |
| | 37 | on a side). |
| | 38 | |
| | 39 | * sets of 'skycells' are combined in the stack with outlier |
| | 40 | rejection. This is not a median, but a weighted mean with |
| | 41 | sigma-clipping. The effect is similar to a median: the resulting |
| | 42 | image consists of the temporally static signal. |
| | 43 | |
| | 44 | Considering the data as observed by the telescope, there are several |
| | 45 | important aspects: |
| | 46 | |
| | 47 | * There is the (nearly static) instrumental response. |
| | 48 | |
| | 49 | * In addition to an instrumenal response, the signal landing on the |
| | 50 | detector consists of a true astronomical signal, of which there are |
| | 51 | dynamic and static components; and a terrestrial and/or |
| | 52 | contamination signal, which has a signficicant dynamic component. |
| | 53 | |
| | 54 | * the dynamic portion of the astronomical signal is nearly all |
| | 55 | PSF-like |
| | 56 | |
| | 57 | * the dynamic portion of the terrestial signal has a wide range of |
| | 58 | spatial frequencies: |
| | 59 | |
| | 60 | * star glints can be roughly PSF in width |
| | 61 | * ghosts can range from ~10 pixels to a couple hundred pixels |
| | 62 | * moon glints tend to be hundreds to thousands of pixels in scale |
| | 63 | * sky gradients are large-scale, but not completely spatially |
| | 64 | * linear. |
| | 65 | |
| | 66 | I contend that we can recover the low-frequency component of the |
| | 67 | astronomical signal in the stacks from the collection of background |
| | 68 | models. There is one model per exposure, but with ~25k pixels instead |
| | 69 | of 1.4G pixels. The goal is to determine the temporally static |
| | 70 | component of the sky as seen in those models. To do this, we would |
| | 71 | transform them to a binned version of the celestial coordiate system |
| | 72 | of the stack skycells. We could then simply generate a median image |
| | 73 | of the that portion of the sky. With enough inputs, this would filter |
| | 74 | out the spatially varying terrestrial / contamination signal, leaving |
| | 75 | behind just the astronomical portion (possibly with an overall |
| | 76 | gradient). This model can then be added back to the stacks. |