| | 1 | IPP Status Report : Single-Image Analysis |
| | 2 | |
| | 3 | This report summarizes the current status of the IPP single-image |
| | 4 | analysis steps. Individual exposures pass through four major analysis |
| | 5 | stages before they are ready to be combined (stacking or difference |
| | 6 | imaging). These steps are: |
| | 7 | |
| | 8 | * '''Chip Analysis''' The individual GPC1 OTA CCDs are processed |
| | 9 | independently: the analysis perform the detrend corrections, |
| | 10 | generates a single pixel array ('chip mosaic'), and performs the |
| | 11 | basic photometric analysis: detection of the sources in an image, |
| | 12 | determination of a PSF model, PSF photometry of all sources, |
| | 13 | morphological identification of extended and unresolved (CR) |
| | 14 | sources, and determination of the curve of growth and aperture |
| | 15 | corrections. One of the major results of this analysis is a |
| | 16 | per-chip FITS table of the detected sources (CMF file) with |
| | 17 | associated metadata. |
| | 18 | |
| | 19 | * '''Camera Analysis''' The collection of chip-level detection tables are |
| | 20 | assembled together into a single file for each exposures. Based on |
| | 21 | the reported telescope position and camera rotation, astrometric |
| | 22 | reference stars are loaded, matched to the detected sources, and an |
| | 23 | astrometric solution is measured. Currently, the astrometric |
| | 24 | reference catalog is derived from the 2MASS PSC, with estimated |
| | 25 | grizy photometry based on the 2MASS colors, and to a limited extent |
| | 26 | the USNO-B photometry and, for brighter stars, the Tycho photometry. |
| | 27 | During the astrometric calibration, an approximate photometric |
| | 28 | calibration is also determined based on the synthetic ''grizy'' |
| | 29 | photometry. The major output data product from this analysis is a |
| | 30 | single file with the FITS tables of all detections from all chips, |
| | 31 | including image headers with the astrometric and photometric |
| | 32 | calibrations. |
| | 33 | |
| | 34 | * '''Fake / Force Analysis''' After the astrometry is determined, forced |
| | 35 | photometry can be performed for pre-defined locations on the sky. |
| | 36 | In addition, during this stage, fake sources are injected and |
| | 37 | recovered in order to measure the detection efficiency of point |
| | 38 | sources as a function of magnitude. Note: although this analysis |
| | 39 | stage is implemented, it is currently untested, and needs |
| | 40 | significant shake-out. |
| | 41 | |
| | 42 | * '''Warp Analysis''' Once images have been processed and have had their |
| | 43 | astrometric calibration determined, they may be geometrically warped |
| | 44 | into the skycells representing common pixel grids. Each of the |
| | 45 | survey modes (3pi, MD, etc) may choose their own tessalation of the |
| | 46 | sky, and the science images are automatically warped into this |
| | 47 | representation. Currently, the IPP is using a somewhat suboptimal |
| | 48 | tessalation which has a ~15% overlap on average. Szalay and Buvari |
| | 49 | have offered to explore additional tessalation options. The IPP |
| | 50 | infrastructure can flexibly choose tessalations whenever a final |
| | 51 | decision is made. In terms of the processing capability of the |
| | 52 | IPP, the choice of the sky tessalation is not a significant impact. |
| | 53 | |
| | 54 | All of these stages of the analysis can and have been run in |
| | 55 | 'semi-automatic' mode on substantial amounts of data. In this |
| | 56 | context, 'semi-automatic' means that there has been a manual selection |
| | 57 | of groups of images to be processed, rather than automatically |
| | 58 | processing all science images as they arrive from the telescope. Most |
| | 59 | of the data that has been processed has been targetted at one of a |
| | 60 | variety of experiments to test, eg, the quality of the photometry or |
| | 61 | astrometry, the telescope pointing model, to measure the flat-field |
| | 62 | correction, or to make specific science demonstrations with selected |
| | 63 | subsets of the data. |
| | 64 | |
| | 65 | Automated processing of the nightly exposures is possible, and has |
| | 66 | been running since 2008.10.27. We will continue to run all data |
| | 67 | labeled for science in the automatic fashion for the foreseeable |
| | 68 | future. We have also started to initiate processing of large test |
| | 69 | sets of data from the preceding two weeks to build up more uniform |
| | 70 | statistics. |
| | 71 | |
| | 72 | === Detrend Processing === |
| | 73 | |
| | 74 | The IPP is currently applying a dark (3D model including bias, trend |
| | 75 | with temperature, and trend with exposures time), a flat-field, and a |
| | 76 | mask. We have not generated a fringe frame for the y-band exposures |
| | 77 | yet. It is clear that the fringing in y-band is very weak, but it is |
| | 78 | present and will eventually need to be corrected. We do not yet have |
| | 79 | sufficient observations to attempt this. The IPP is capable of |
| | 80 | generating and applying fringe frames (tested with Megacam data), so |
| | 81 | we are confident that this can be addressed when the y-band total |
| | 82 | exposures become more significant. |
| | 83 | |
| | 84 | [[Image(htdocs:/images/Detrend.stats.png)]] |
| | 85 | |
| | 86 | We have generated flat-field images based on twilight sky images. We |
| | 87 | have gone through two iterations on this to date: we first generated a |
| | 88 | master flat set for griy in May using a modest subset of twilight |
| | 89 | images. In September, we used those masters to test the validity of |
| | 90 | all of the flat-field images taken since July 1. From this analysis, |
| | 91 | we selected a subset of clean, consistent input flats to generate a |
| | 92 | new set of flats. Since the baffling had been installed since the May |
| | 93 | flats were built, the new flat-field were somewhat different: they had |
| | 94 | must smaller large-scale structures due to the scattered light. Using |
| | 95 | the master flats generated from this analysis, we generated residual |
| | 96 | images for each input flat. Figure 1 shows three representations of |
| | 97 | the statistics of these residuals. Each panel shows one of the four |
| | 98 | filters griy. For each exposure, we measured the stdev of the |
| | 99 | residual pixel values for each chip, as well as the median flux on |
| | 100 | each flattened image. The black histogram shows the stdev of the |
| | 101 | median values across all chips. The blue histogram shows the rms |
| | 102 | values of the stdevs for each chip. We also measured the stdev after |
| | 103 | rebinning the images by 150x150. The red histogram shows the rms of |
| | 104 | the stdevs of the binned images. All three histograms show the |
| | 105 | fractional stdev relative to the median flux on the image. These |
| | 106 | input images had count levels of typically 15-20k DN. The blue |
| | 107 | histograms are rougly consistent with the Poisson noise level, though |
| | 108 | perhaps biased a bit high from the outliers pixels in the images. The |
| | 109 | black histograms show that there remain low-level chip to chip |
| | 110 | differences which will have an impact at the 5-8 mmag level. The red |
| | 111 | histograms show that the systematic floor within individual chips may |
| | 112 | possibly be at the 1 mmag level. |
| | 113 | |
| | 114 | === Astrometric Analysis === |
| | 115 | |
| | 116 | [[Image(htdocs:/images/O4729g0161o.dis.0.png)]] |
| | 117 | [[Image(htdocs:/images/O4729g0161o.dis.1.png)]] |
| | 118 | [[Image(htdocs:/images/O4729g0161o.dis.2.png)]] |
| | 119 | [[Image(htdocs:/images/O4729g0161o.dis.3.png)]] |
| | 120 | [[Image(htdocs:/images/O4729g0161o.dis.9.png)]] |
| | 121 | |
| | 122 | For high-quality astrometric calibration of the GPC1 data, the IPP |
| | 123 | uses a two-level set of astrometric solutions: the first layer is set |
| | 124 | of polymomial transformations (currently up to 3rd order) from the |
| | 125 | chip pixel coordinates (X,Y) to a common focal plane coordinate system |
| | 126 | (L,M; currently represented in virtual pixels, or 10um units). The |
| | 127 | second layer consists of a single polynomial transformation (again up |
| | 128 | to 3rd order) from the focal plane to a common tangent plane |
| | 129 | coordinate system (P,Q). Conversion from the tangent plane to the |
| | 130 | celestial coordinates (R,D) consists of a projection about the field |
| | 131 | center with a plane scale that may be different in the P and Q |
| | 132 | directions. |
| | 133 | |
| | 134 | This two level transformation allows us to represent a single optical |
| | 135 | distortion, with all chips contributing to the solution, as well as |
| | 136 | perturbations for each chip representing chip translations, rotations, |
| | 137 | or higher order effects such as may be induced by seeing. At the |
| | 138 | moment, we are only using integer powers of for focal plane |
| | 139 | coordinates (L,M). We justify this by noting that the basic radial |
| | 140 | optical distortion is of the form \rho = \alpha r + \beta r^3. The x |
| | 141 | component of \rho is then |
| | 142 | |
| | 143 | \rho_x = \rho cos \theta |
| | 144 | \rho_x = (\alpha r + \beta r^3) cos \theta |
| | 145 | |
| | 146 | but cos \theta is x / r, thus |
| | 147 | |
| | 148 | \rho_x = \alpha x + \beta (x^3 + x y^2) |
| | 149 | |
| | 150 | and equivalently for the y component of \rho. Thus, we expect to have |
| | 151 | the dominant power in the odd power combinations of x and y, and this |
| | 152 | is in fact what we see when we fit real data. |
| | 153 | |
| | 154 | In order to determine the astrometric solution in a stable fashion, we |
| | 155 | actually measure and fit the gradient of the distortion term: this is |
| | 156 | not dependent to first order on the location of the chips, and can |
| | 157 | thus be solved independently of the chip-to-focal plane transformations. |
| | 158 | |
| | 159 | Figures 2-6 (click for larger version) show the sequence of steps for an example data set. Each |
| | 160 | image shows the difference between the focal plane coordinates of the |
| | 161 | measured stars and the model-predicted focal plane coordinates of the |
| | 162 | reference star positions. The top two panels show the astrometric |
| | 163 | residuals as a function of the magnitudes. |
| | 164 | |
| | 165 | We start with independent solutions for each chip. An artifical |
| | 166 | linear focal plane to tangent plane transformation is used to |
| | 167 | determine the effective focal plane coordiates for each chip. The |
| | 168 | residuals reflect the absence of the distortion model. We next adjust |
| | 169 | each chip-to-focal plane model to force each chip to have the same |
| | 170 | pixel scale; without compensating for this by introducing a focal |
| | 171 | plane distortion, this appears to offset the chips. The resulting |
| | 172 | pattern shows visually the distortion field. We next fit the gradient |
| | 173 | of the distortion field and apply the resulting distortion field, |
| | 174 | without adjusting the effective chip coordinates. The results is that |
| | 175 | the coordiates system for each chip becomes locally flat, but the |
| | 176 | chips are now mis-registered relative to the new focal plane syste. |
| | 177 | Next, we fit for the chip translations only, with the result that that |
| | 178 | the residuals show the relative rotations of the chips (in fact, the |
| | 179 | pattern is regular because the chips have already been fitted to have |
| | 180 | a small amount of effective rotation to follow the distortion field). |
| | 181 | We iterate between improving the distortion and improving the chip |
| | 182 | fits, and finally allow the chips to fit higher order terms. The final |
| | 183 | plots show the small residuals across the field. |
| | 184 | |
| | 185 | When fitting relative to 2MASS, with this full two-level astrometric |
| | 186 | model, we find residuals for the bright end which are typically 60 - |
| | 187 | 70 milliarcseconds, and are limited by the 2MASS accuracy. |
| | 188 | |
| | 189 | === Sample Data Sets === |
| | 190 | |
| | 191 | [[Image(htdocs:/images/Flatcorr.region.png)]] |
| | 192 | |
| | 193 | We provide here tarballs with several example data samples. These are |
| | 194 | all derived from a sequence of observations taken 2008.09.20 which |
| | 195 | have been used to study the flat-field correction. These observations |
| | 196 | are of a dense stellar field, and are heavily dithered. Figure 7 |
| | 197 | shows the pattern of the GPC1 chips on the sky. |
| | 198 | |
| | 199 | In the tarball [http://kiawe.ifa.hawaii.edu/eugene/downloads/smf.files.tgz smf.files.tgz] |
| | 200 | are the output SMF files from the camara |
| | 201 | stage analysis There are two sets of smf files in this directory: The |
| | 202 | plain ones use the simple linear per-chip astrometry. The ones with |
| | 203 | the extension "dis.smf" have been modelled with the full two-level |
| | 204 | analysis. This associated files which end with .dat are text tables |
| | 205 | of the stars which were matched to the 2MASS catalog. Each line of |
| | 206 | these files consists of two sets of white-space separted numbers with |
| | 207 | a pipe ("|") between them. The first set on each line are measured |
| | 208 | values from the GPC1 images; the second set are the modelled values |
| | 209 | for the reference stars. The columns are: |
| | 210 | |
| | 211 | ID RA DEC P Q L M X Y M_inst | RA DEC P Q L M X Y M_catalog |
| | 212 | |
| | 213 | The tarball [http://kiawe.ifa.hawaii.edu/eugene/downloads/catdir.flatcorr.tgz catdir.flatcorr.tgz] |
| | 214 | is the DVO database built from the LINEAR version of the smf files (so note that the astrometry will not be fantastic!). |
| | 215 | |
| | 216 | The tarball [http://kiawe.ifa.hawaii.edu/eugene/downloads/subset.tgz subset.tgz] |
| | 217 | gives just a few example smf files, one for each filter. |
| | 218 | |
| | 219 | '''added 2008.11.05''' [[Image(htdocs:/images/O4729g0085o.33893.tgz)]] (example processing logs from one exposure) |