IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Stackphot_20100514


Ignore:
Timestamp:
May 17, 2010, 4:54:12 PM (16 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Stackphot_20100514

    v1 v1  
     1== Stackphot Initial Release ==
     2
     3I have finished up some major work on the IPP stack extended source
     4photometry analysis, and I am placing a small example on an rsync
     5server for people to investigate.
     6
     7The data can be found at:  rsync://pikake.ifa.hawaii.edu/md04.stackphot/
     8
     9Download it with a command like: rsync -auv
     10rsync://pikake.ifa.hawaii.edu/md04.stackphot/ md04.stackphot/
     11
     12There are two sets of files in this directory:
     13 * MD04.skycell.079.stk.* : these are the inputs to the stackphot analysis
     14 * MD04.skycell.079.stkphot.* : these are the outputs from the
     15stackphot analysis.
     16
     17The analysis was performed using the griz images from the current
     18'refstack' for MD04.  Those stacks do not include some of the recent
     19fixes related to the covariance matrix calculation.  That point may
     20affect the depth to which psphot did the analysis.
     21
     22There are 4 sets of output files, one for each of the input filter
     23images (0 = i, 1 = g, 2 = r, 3 = z).  The *.im.fits is the psf-matched
     24image, *.wt.fits is the equivalent variance, *.mk.fits is the
     25equivalent mask, *.cmf is the set of FITS tables with detection
     26information.  In the cmf files, there are 4 data units.  The primary
     27data unit is the header with metadata about the input image (not very
     28complete or accurate I'm afraid -- we are fixing this up).  The next
     29(EXTNAME = SkyChip.psf) is the PSF table.  This uses a new format
     30'PS1_SV1' which includes fields for the radial profile information
     31(see below), along with the cmf fields familiar from the PS1_V2
     32version.  (Note that we will continue to use PS1_V2 for all photometry
     33analysis except stackphot and diff -- for diff we will be using the
     34PS1_DV1 format which I've mentioned before).  The next data unit
     35(EXTNAME = SkyChip.xsrc) is the extended source table, with the
     36elliptical profile data and the petrosians -- note that these are only
     37provided for 'extended' sources.  The final data unit (EXTNAME =
     38SkyChip.deteff) is the detection efficiency table.
     39
     40Note that we are intending to change the EXTNAMEs to all upper case
     41(perhaps before next week).
     42
     43Over the next few days, I'll be running more of these MD04 skycells.
     44We also will create a new set of stacks using all of the images to
     45date (or a 'best seeing' subset).
     46
     47-----
     48
     49Here is a summary of the stackphot analysis:
     50
     51In the stack photometry analysis, we start with a set of skycell
     52images (normally stacks, but they could be warps as well).  In the
     53case of stacks, the input stack data has both convolved (PSF-matched)
     54and unconvolved images.  For the stackphot analysis, like in the stack
     55analysis, we define a target PSF and smooth the input images to
     56generate a set of PSF-matched images that have the desired target PSF.
     57 We can optionally use the convolved stacks or the unconvolved stacks
     58as the input to this PSF-matching step.
     59
     60We then use the unconvolved images for the detection process.  We
     61perform the detection process on the individual images.  We also
     62generate a chi square image from all inputs and run the detection
     63analysis on that image as well.
     64
     65The detected sources in each of the input images are merged together
     66into a set of common objects.  For images where a source is not
     67detected, we generate one from the common object at the location -- in
     68the end all positions for which a source is detected on any image is
     69then treated as a source.  For all sources, we force a common position
     70(average of the actual detections).
     71
     72We then use the convolved images (PSF-matched to the target PSF) to
     73perform the analysis.  In addition to the standard psf photometry, we
     74now generate additional measurements: for all sources, we measure
     75aperture fluxes for a series of radial apertures, along with the
     76errors and the 'fill factor' (the number of pixels used for a given
     77radius divided by the area at that radius in pixels -- this is useful
     78to judge the amount of masking and quality of the aperture).
     79
     80For extended sources, we also measure the elliptical contour at the
     810.25 Peak flux level.  We use this contour to generate a re-normalized
     82radial profile, following the elliptical contour.  In order to
     83generate a clean radial profile, we measure the profile separately for
     84each of 30 angular bins and compare 180-degree opposite bins -- the
     85shallower of the opposite profiles wins out.  This enforces 180 degree
     86rotational symmetry and approximates the SDSS deblender.  Also note
     87that the analysis of a single source is performed with the other
     88sources subtracted (using the best fit psf or simple galaxy model), so
     89the resulting analysis is essentially isolated to a single source.
     90
     91We then use the radial profiles to measure Petrosian quantities
     92(Petrosian radius, magnitude, R50, R90 values as defined by SDSS).  We
     93also report the surface brightness and enclosed flux at specific major
     94axis radii for the elliptical contours.  (Again -- these are only
     95reported for the extended sources).
     96
     97I have made comparisons to the SDSS analysis using SDSS images and
     98find that the results agree well (I'll put together a report over the
     99next few days).
     100
     101For both the circular and elliptical apertures, we are currently using
     102the radii defined by SDSS.  The inner and outer radii in pixels are
     103listed below:
     104
     105@RADIAL.ANNULAR.BINS.LOWER           F32     0.00 0.56 1.69 2.59 4.41
     1067.51 11.58 18.58 28.55 45.50  70.51 110.53 172.49 269.52 420.51
     107@RADIAL.ANNULAR.BINS.UPPER           F32     0.56 1.69 2.59 4.41 7.51
     10811.58 18.58 28.55 45.50 70.51 110.53 172.49 269.52 420.51 652.50
     109
     110Some points and caveats:
     111
     112* unlike SDSS, we are currently using the Petrosian flux measured on a
     113given image to determine R50 and R90 for that image (SDSS uses the
     114r-band)
     115* the average object positions are used to measure the radial, not
     116r-band specifically like SDSS
     117* we do not currently resample and recenter the source pixels to place
     118the center at a pixel center (as photo does).  this should only be an
     119important effect in the inner ~2 pixels if the image is nearly
     120undersampled (which we clearly are not).
     121* the zero points are not being carried into the stack correctly, so
     122the photometry is NOT currently calibrated.  The data in the sample is
     123from MD04, which overlaps SDSS, so it should be easy to calibrate from
     124SDSS.
     125* the astrometric calibration is being applied to the output 'cmf'
     126tables, but the WCS seems to be broken in the header
     127* there is a bit of work still needed to integrate the analysis into
     128the IPP automatically.
     129* non-linear model fits are still not being included in the analysis