IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Pordig.20081029.sample


Ignore:
Timestamp:
Feb 24, 2009, 4:23:57 PM (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Pordig.20081029.sample

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