Changes between Initial Version and Version 1 of cmf_columns

Show
Ignore:
Timestamp:
08/05/10 14:08:57 (7 years ago)
Author:
heather (IP: 128.171.160.199)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cmf_columns

    v1 v1  
     1This describes the columns and flags in the smf/cmf files.  They are listed in psModules/src/objects/pmSourceIO_CMF_PS1_V1.c, this is a slightly more descriptive version.  
     2 
     3== Columns == 
     4 
     5 * IPP_IDET - detection id (increment from 0 per chip - gaps are from magic) 
     6 * X_PSF -position (in pixels 
     7 * Y_PSF -position in pixels 
     8 * X_PSF_SIGMA -position sigma 
     9 * Y_PSF_SIGMA -position sigma 
     10 * POSANGLE - position angle of the instrument coordinate system at source (ie, the angle between north and the y-axis) in degrees 
     11 * PLTSCALE - plate-scale at the source position (it varies across the exposure!) in arcsec 
     12 * PSF_INST_MAG - PSF Instrumental mag 
     13 * PSF_INST_MAG - error for that 
     14 * AP_MAG - aperture mag 
     15 * AP_MAG_RADIUS - aperture mag radius (pixels) 
     16 * PEAK_FLUX_AS_MAG - as it says, it is the flux (counts/pixel) for the peak pixel expressed as an instrumental magnitude (-2.5*log(flux)) 
     17 * CAL_PSF_MAG - calibrated PSF MAG 
     18 * CAL_PS_MAG_SIG - error 
     19 * RA_PSF - ra 
     20 * DEC_PSF - dec 
     21 * SKY - background in counts (DN, not electrons) 
     22 * SKY_SIGMA -error 
     23 * PSF_CHISQ - chisq of psf 
     24 * CR_NSIGMA - cosmic ray 
     25 * EXT_NSIGMA - extended source 
     26 * PSF_MAJOR - major axis (pixel) 
     27 * PSF_MINOR - minor axis (pixel) 
     28 * PSF_THETA - angle 
     29 * PSF_QF - the psf-weighted fraction of unmasked pixels:  
     30   * {{{\Sum_i (psf_i * !masked) / \Sum_i (psf_i)}}} 
     31 * PSF_NDOF - number of degrees of freedom for the fit -- for the diff detections, the only free parameter is the flux, so N_DOF = N_PIX - 1; in other cases, there may be more parameters (eg, position, size, etc). 
     32 * PSF_NPIX - number of pixels for fit 
     33 * MOMENTS_XX - second moment in x:  
     34   * {{{\Sum ((x_i - x_o)^2 f_i) / \Sum (f_i) }}} where x_o is the centroid  {{{ \Sum (x_i f_i) / \Sum f_i }}} 
     35 * MOMENTS_XY - second moment in xy:  
     36   * {{{\Sum ((x_i - x_o)(y_i - y_o)^2 f_i) / \Sum (f_i) }}} 
     37 * MOMENTS_YY - second moment in xy   
     38   * {{{\Sum ((y_i - y_o)^2 f_i) / \Sum (f_i) }}} 
     39 * FLAGS - see below 
     40 * N_FRAMES - this is not currently set, but it is supposed to have the value of the number of input images overlapping the center of the source (for warp-warp diff, it would be 2, for a single image it would be 1, for a stack it may be something else). 
     41 * PADDING - a dummy block of data needed to fit the rows into 8-byte boundaries (this lets me read into structures as a bulk byte read operation). 
     42 
     43 
     44== Flags == 
     45 
     46||DEFAULT || 0  || Initial value: resets all bits || 
     47||PSFMODEL||1   || Source fitted with a psf model (linear or non-linear) || 
     48||EXTMODEL||2   ||Source fitted with an extended-source model|| 
     49||FITTED||4     ||Source fitted with non-linear model (PSF or EXT; good or bad)|| 
     50||FITFAIL||8    ||Fit (non-linear) failed (non-converge, off-edge, run to zero)|| 
     51||POORFIT||16   ||Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?)|| 
     52||PAIR    ||32  ||Source fitted with a double psf || 
     53||PSFSTAR||64   ||Source used to define PSF model || 
     54||SATSTAR||128  ||Source model peak is above saturation || 
     55||BLEND  ||256  ||Source is a blend with other sourcers || 
     56||EXTERNALPOS"||  512  || Source based on supplied input position || 
     57||BADPSF  ||1024 || Failed to get good estimate of object's PSF || 
     58||DEFECT ||2048 ||Source is thought to be a defect || 
     59||SATURATED||4096 ||Source is thought to be saturated pixels (bleed trail) || 
     60||CR_LIMIT ||8192 ||Source has crNsigma above limit || 
     61||EXT_LIMIT ||16384 ||Source has extNsigma above limit || 
     62||MOMENTS_FAILURE  ||32768 ||could not measure the moments || 
     63||SKY_FAILURE  ||65536 ||could not measure the local sky || 
     64||SKYVAR_FAILURE  ||131072 ||could not measure the local sky variance || 
     65||MOMENTS_SN  ||262144 ||moments not measured due to low S/N || 
     66||BIG_RADIUS ||1048576 ||poor moments for small radius, try large radius|| 
     67||AP_MAGS ||2097152 ||source has an aperture magnitude || 
     68||BLEND_FIT ||4194304 ||source was fitted as a blend || 
     69||EXTENDED_FIT||8388608||full extended fit was used || 
     70||EXTENDED_STATS||16777216||extended aperture stats calculated || 
     71||LINEAR_FIT|| 33554432||source fitted with the linear fit || 
     72||NONLINEAR_FIT||67108864 ||source fitted with the non-linear fit || 
     73||RADIAL_FLUX||134217728||radial flux measurements calculated|| 
     74||SIZE_SKIPPED||268435456||size could not be determined || 
     75||ON_SPIKE||536870912||peak lands on diffraction spike || 
     76||ON_GHOST||1073741824||peak lands on ghost or glint || 
     77||OFF_CHIP||2147483648||peak lands off edge of chip|| 
     78||NOCAL||4294967296||detection ignored for this analysis (photcode, time range) -- internal only || 
     79||POOR_PHOTOM||8589934592||detection is photometry outlier || 
     80||SKIP_PHOTOM||17179869184||detection was ignored for photometry measurement || 
     81||MEAS_AREA||34359738368||detection near image edge || 
     82||POOR_ASTROM||68719476736||detection is astrometry outlier || 
     83||SKIP_ASTROM||137438953472||detection was ignored for astrometry measurement|| 
     84||USED_OBJ||274877906944||detection was used during opdate objects|| 
     85||USED_CHIP||549755813888||detection was used during update chips|| 
     86||BLEND_MEAS||1099511627776||detection is within radius of multiple objects|| 
     87||BLEND_OBJ||2199023255552||multiple detections within radius of object|| 
     88||BLEND_MEAS_X||17592186044416||detection is within radius of multiple objects across catalogs|| 
     89||ARTIFACT||35184372088832||detection is thought to be non-astronomical||