IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:ippToPsps_Object

Version 63 (modified by heather, 13 years ago) ( diff )

--

Back to ippToPsps main page

Object batches

Object batches are generated from the IPP for objects that have set for the year and that have been fully processed by the IPP. Data is taken entirely from DVO FITS files, specifically:

  • cpt file: contains ..., definition here
  • cps file: contains mean mags etc definition here

One PSPS batch represents one DVO 'region', eg these files

s3000/7471.10.cps
s3000/7471.10.cpt

would be used to create an object batch for this DVO region.

PSPS tables

1 Object extension

The full table definitions can be seen here

Current IPP to PSPS mappings

Object
ODM attribute units Data type Default Description IPP source IPP variable/notes
objIDdimensionlessBIGINT0ODM object identifier index cpt file EXT_ID
ippObjIDdimensionlessBIGINT0IPP object number cpt file CAT_ID*1000000000 + OBJ_ID
projectionCellIDdimensionlessINT-999projection cell identifier at discovery time
htmIDdimensionlessBIGINT0HTM index to be DROPPED from table
zoneIDdimensionlessINT0Zone index to be DROPPED from table
stackVerdimensionlessSMALLINT-999 -static stack version number
objInfoFlagdimensionlessBIGINT-999flag indicating odd properties
varFlag qualityFlagdimensionlessTINYINT0subset of objInfoFlag - flags related to goodness of object
surveyIDdimensionlessTINYINT255Survey ID config as set in the ippToPsps config
radegreesFLOAT0 Right Ascension cpt file RA - where this is the RA at the reference epoch. Defaults to RA in stack if not seen in frames
decdegreesFLOAT0 Declination cpt file DEC - where this is the Dec at the reference epoch. Defaults to Dec in stack if not seen in frames
raErrarcsecREAL0.0 Right Ascension error cpt file RA_ERR
decErrarcsecREAL0.0 Declination error cpt file DEC_ERR
cx unknown FLOAT 0 Cartesian x populated during PSPS merge
cy unknown FLOAT 0 Cartesian y populated during PSPS merge
cz unknown FLOAT 0 Cartesian z populated during PSPS merge
lambdadegreeFLOAT-999 ecliptic longitude populated during PSPS merge
betadegreeFLOAT-999 ecliptic latitude populated during PSPS merge
l degreesFLOAT-999 galactic longitude populated during PSPS merge
b degreesFLOAT-999 galactic latitude populated during PSPS merge
nDetectionsdimensionlessSMALLINT-999total number of detection measurements in all filters cpt file sum of NCODE for different filters in dvo
ngdimensionlessSMALLINT-999number of measures in g filter cps file NCODE ("number of detections in band")
The block below is repeated for filters r, i, z, y and w
gMeanPSFMagAB magnitudesREAL-999 mean g magnitude cps file MAG (the AB magnitude) (from exp,psf), set to null where MeanMagErr > 0.5
gMeanKronMagAB magnitudesREAL-999 mean g kron mag from smfs cps file MAG_KRON mean kron mag from exp, psf
gMeanPSFMagErrAB magnitudesREAL-999 estimated error of g magnitude mean (psf) cps file MAG_ERR
gMeanKronMagErrAB magnitudesREAL-999 g mean Kron mag err cps MAG_KRON_ERR
g20pctAB magnitudesREAL-999 minimum g magnitide cps file MAG_20/1000
g80pctAB magnitudesREAL-999 maximum g magnitude cps file MAG_80/1000
end repeat of block
The block below is repeated for filters r, i, z, and y
gStackPSFMag AB magnitudesREAL-999 g psf flux stack cps file ~FLUX_PSF~ calculated from stackKronMag (AB mag) = -2.5 * log(FLUX_KRON) + 8.9
gStackPSFMagErrAB magnitudesREAL-999 gstack psf flux err cps FLUX_PSF_ERR/FLUX_PSF -flux error for psf g stack measurements
gStackKronMagAB magnitudesREAL-999 g kron magnitude from stack frames cps calculated from stackKronMag (AB mag) = -2.5 * log(FLUX_KRON) + 8.9
gStackKronMagErrAB magnitudesREAL-999 g stack kron mag err cps file FLUX_KRON_ERR /FLUX_KRON
gFlags dimensionlessSMALLINT-999 g flags cps flags
gStackDetectID dimensionlessBIGINT-999 stackdetect id to map back to stackdetection tablecps or cpt STACK_DETECT_ID
end repeat of block
qf_perfectdimensionlessREAL-999 qf_perfect cpt PSF_QF_PERFECT rename it qf_perfect
sgSepdimensionlessREAL-999 star/galaxy separator - true if any one color is cpt STARGAL_SEP is the max of the extNsigma values from the exposures (P2s)
consistencyFlagdimensionlessSMALLINT0Value computed from associated detections, it is originally given by IPP and should agree with the ODM validation
Random dimentionless FLOAT 0 Random number between 0 and 1
dataReleaseMean Julian DayTINYINT0Data release
~updated~batchIDdimentionlessINT32-999batchID

Schema Change Plan (July 2012)

Note: See TracWiki for help on using the wiki.