IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37209


Ignore:
Timestamp:
Aug 9, 2014, 2:32:59 PM (12 years ago)
Author:
eugene
Message:

finish notes stack; add notes for detection

Location:
branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES
Files:
3 added
9 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/Detection.txt

    r37127 r37209  
    1 objID           = dvo / addstar
    2 gcObjID         = dvo / addstar [EAM: DROP?]
    3 detectID        = dvo / addstar
    4 ippObjID        = dvo / addstar
    5 ippDetectID     = dvo / addstar
    6 filterID        = smf / ipptopsps
    7 surveyID        = ipptopsps
    8 imageID         = smf header
    9 randomDetID     = ipptopsps
    10 dvoRegionID     = dvo / catID [EAM: add to dvopsps]
    11 obsTime         = smf
    12 xPos            = smf
    13 yPos            = smf
    14 xPosErr         = smf [EAM: modify errors to match relastro?]
    15 yPosErr         = smf
    16 pltScale        = smf
    17 posAngle        = smf
    18 ----------------=
    19 ra              = dvo / relastro
    20 dec             = dvo / relastro
    21 raErr           = dvo / relastro
    22 decErr          = dvo / relastro
    23 zp              = dvo / relphot
    24 telluricExt     = zp - zpNominal (dvopsps) [EAM: add to dvopsps]
    25 expTime         = smf
    26 airMass         = smf
    27 ----------------=
    28 psfFlux         = smf [OK: ipptopsps uses PSF_FLUX]
    29 psfFluxErr      = smf
    30 psfMajorFWHM    = smf [PSF_MAJOR is Sxx parameter, NOT FWHM] [EAM: add PSF_FWHM_MAJ to smf, keep PSF_MAJOR]
    31 psfMinorFWHM    = smf [PSF_MINOR is Sxx parameter, NOT FWHM] [EAM: add PSF_FWHM_MIN to smf, keep PSF_MINOR]
    32 psfTheta        = smf
    33 psfCore         = smf [EAM: add PSF_CORE to smf]
    34 psfQf           = smf
    35 psfQfPerfect    = smf
    36 psfChiSq        = smf
    37 psfLikelihood   = ipptopsps
    38 momentXX        = smf
    39 momentXY        = smf
    40 momentYY        = smf
    41 momentR1        = smf
    42 momentRH        = smf [XXX : MOMENTS_RH is NOT half-light radius : keep as MOMENTS_RH or calculate?]
    43 momentM3C       = smf
    44 momentM3S       = smf
    45 momentM4C       = smf
    46 momentM4S       = smf
    47 apFlux          = smf [requires PS1_V4]
    48 apFluxErr       = smf [requires PS1_V4]
    49 apFillF         = smf [EAM: add to pmSource and smf]
    50 kronFlux        = smf
    51 kronFluxErr     = smf
    52 kronRad         = (2.5*R1) : Ken : drop this or MOMENTS_R1?
    53 kronRadErr      = [not calculated] : drop this
    54 sky             = smf
    55 skyErr          = smf
    56 infoFlag        = smf
    57 infoFlag2       = smf
    58 dataRelease     = ippToPsps
     1objID           + dvo = average.extID [calculated in addstar]
     2detectID        + dvo = measure.extID [calculated in addstar]
     3ippObjID        + dvo = average.objID + (average.catID << 32) [NOTE: this is a change in definition]
     4ippDetectID     + smf:IPP_IDET
     5filterID        + ipptopsps : internal, lookup from filter (grizy)
     6surveyID        + ipptopsps : internal, from survey name
     7imageID         - ipptopsps : expID x y (*** is this right???) (smf:IMAGEID / gpc1.chipRun.chip_image_id)_
     8randomDetID     + ipptopsps : RANDOM from sql
     9dvoRegionID     - dvo / catID [EAM: add to dvopsps]
     10obsTime         - smf:MJD-OBS + 0.5 EXPTIME / 84600
     11xPos            + smf:X_PSF
     12yPos            + smf:Y_PSF
     13xPosErr         + smf:X_PSF_SIG
     14yPosErr         + smf:Y_PSF_SIG
     15pltScale        + smf:PLTSCALE (negative -> sky parity)
     16posAngle        + smf:POSANGLE
     17---------------
     18ra              = dvo:measure.ra
     19dec             = dvo:measure.dec
     20raErr           = smf:X_PSF_SIG * abs(PLTSCALE)
     21decErr          = smf:Y_PSF_SIG * abs(PLTSCALE)
     22zp              = dvo / dvopsps : zp
     23telluricExt     = dvo / dvopsps : zp - zpNominal (dvopsps)
     24expTime         = dvo:measure.dt [converted to seconds]
     25airMass         = dvo:measure.airmass
     26---------------
     27psfFlux         = smf:PSF_INST_FLUX / EXPTIME
     28psfFluxErr      = smf:PSF_INST_FLUX_SIG / EXPTIME
     29psfMajorFWHM    = smf:PSF_FWHM_MAJ
     30psfMinorFWHM    = smf:PSF_FWHM_MIN
     31psfTheta        = smf:PSF_THETA
     32psfCore         = smf:PSF_CORE
     33psfQf           = smf:PSF_QF
     34psfQfPerfect    = smf:PSF_QF_PERFECT
     35psfChiSq        = smf:PSF_CHISQ
     36psfLikelihood   = smf:psfLikelihood(EXT_NSIGMA)
     37momentXX        = smf:MOMENTS_XX
     38momentXY        = smf:MOMENTS_XY
     39momentYY        = smf:MOMENTS_YY
     40momentR1        = smf:MOMENTS_R1
     41momentRH        = smf:MOMENTS_RH
     42momentM3C       = smf:MOMENTS_M3C
     43momentM3S       = smf:MOMENTS_M3S
     44momentM4C       = smf:MOMENTS_M4C
     45momentM4S       = smf:MOMENTS_M4S
     46apFlux          = smf:AP_FLUX
     47apFluxErr       = smf:AP_FLUX_SIG
     48apFillF         = smf:AP_NPIX / (pi * (AP_MAG_RADIUS - 0.5)^2)
     49kronFlux        = smf:KRON_FLUX
     50kronFluxErr     = smf:KRON_FLUX_ERR
     51kronRad         = smf:2.5*MOMENTS_R1
     52sky             = smf:SKY / exptime
     53skyErr          = smf:SKY_SIGMA / exptime
     54infoFlag        = smf:FLAGS
     55infoFlag2       = smf:FLAGS2 | (dvo.measure.flags << 13)
     56dataRelease     = ippToPsps : user input (skychunk.dataRelease)
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitDeV.txt

    r37199 r37209  
    1616gDeVMag          + cmf : EXT_INST_MAG + 2.5log(exptime) + dvo.zp
    1717gDeVMagErr       + cmf : EXT_INST_MAG_SIG ** seems kind of small in CMF
    18 gDeVAb           - cmf : EXT_WIDTH_MAJ/EXT_WIDTH_MIN ** should this be Minor / Major?
     18gDeVAb           + cmf : EXT_WIDTH_MAJ/EXT_WIDTH_MIN ** should this be Minor / Major?
    1919gDeVAbErr        - cmf : EXT_WIDTH_MIN_ERR
    2020gDeVPhi          + cmf : EXT_THETA
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitExp.txt

    r37199 r37209  
    1616gExpMag          + cmf : EXT_INST_MAG + 2.5log(exptime) + dvo.zp
    1717gExpMagErr       + cmf : EXT_INST_MAG_SIG ** seems kind of small in CMF
    18 gExpAb           - cmf : EXT_WIDTH_MIN/EXT_WIDTH_MAJ
     18gExpAb           + cmf : EXT_WIDTH_MIN/EXT_WIDTH_MAJ
    1919gExpAbErr        - cmf : EXT_WIDTH_MIN_ERR
    2020gExpPhi          + cmf : EXT_THETA ** in radians, not degrees (fixed, check)
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackModelFitSer.txt

    r37199 r37209  
    1919gSerAbErr        - cmf : EXT_WIDTH_MIN_ERR
    2020gSerNu           + cmf : EXT_PAR_07
    21 gSerPhiErr       + cmf : 0.1 ** NOTE this is hard-wired
     21gSerNuErr        - cmf : 0.1 ** NOTE this is hard-wired
    2222gSerPhi          - cmf : EXT_THETA ** in radians, not degrees
    2323gSerPhiErr       - cmf : EXT_THETA_ERR
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/StackObjectThin.txt

    r37199 r37209  
    99skycellID          + smf : parse SKYCELL (skycell.NNN or skycell.MMMM.NNN)
    1010randomStackObjID   + ipptopsps (RANDOM on sql into mysql)
    11 stackDetectRowID   * set by PSPS
     11stackDetectRowID   - set by PSPS
    1212primaryDetection   - dvo * NOT YET TESTED
    1313bestDetection      - dvo * THIS CANNOT BE SET UNTIL LATER (after PV3 initial ingest to psps)
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/FrameMeta

    r37000 r37209  
    1 frameID dimensionless   INT     4       NA      unique exposure/frame identifier.
    2 frameName       dimensionless   VARCHAR(32)     32      NA      frame name provided by camera software
    3 surveyID        dimensionless   TINYINT 1       NA      survey flag identifier
    4 filterID        dimensionless   TINYINT 1       NA      filter identifier
    5 cameraID        dimensionless   SMALLINT        2       NA      camera identifier
    6 cameraConfigID  dimensionless   SMALLINT        2       NA      camera configuration identifier
    7 telescopeID     dimensionless   SMALLINT        2       NA      telescope identifier
    8 analysisVer     alphanumeric    VARCHAR(MAX)    8000            IPP software analysis release
    9 p1Recip alphanumeric    VARCHAR(MAX)    8000            IPP phase 1 MD5 Checksum
    10 p2Recip alphanumeric    VARCHAR(MAX)    8000            IPP phase 2 MD5 Checksum
    11 p3Recip alphanumeric    VARCHAR(MAX)    8000            IPP phase 3 MD5 Checksum
    12 nOTA    alphanumeric    SMALLINT        2       -999    number of valid OTA/CCD images in this exposure
    13 photoScat       magnitude       REAL    4       -999    global photometric scatter
    14 numPhotoRef     dimensionless   INT     4       -999    number of photometric reference sources
    15 expStart        days    FLOAT   8       -999    exposure start time in MJD
    16 expTime seconds REAL    4       -999    exposure time
    17 airmass dimensionless   REAL    4       -999    airmass at mid-exposure
    18 raBore  degrees FLOAT   8       -999    RA of telescope boresight
    19 decBore degrees FLOAT   8       -999    DEC of telescope boresight
    20 ctype1  alphanumeric    VARCHAR(MAX)    8000            name of astrometric projection in RA
    21 ctype2          VARCHAR(MAX)    8000            name of astrometric projection in DEC
    22 crval1  degrees FLOAT   8       -999    RA corresponding to reference pixel
    23 crval2  degrees FLOAT   8       -999    DEC corresponding to reference pixel
    24 crpix1  pc001001        FLOAT   8       -999    reference pixel value for RA
    25 crpix2  dimensionless   FLOAT   8       -999    reference pixel value for DEC
    26 cdelt1  degrees/pixel   FLOAT   8       -999    scale factor for RA
    27 cdelt2  degrees/pixel   FLOAT   8       -999    scale factor for DEC
    28 pc001001        dimensionless   FLOAT   8       -999    elements of rotation/Dcale matrix
    29 pc001002        dimensionless   FLOAT   8       -999    elements of rotation/Dcale matrix
    30 pc002001        dimensionless   FLOAT   8       -999    elements of rotation/Dcale matrix
    31 pc002002        dimensionless   FLOAT   8       -999    elements of rotation/Dcale matrix
    32 polyOrder       dimensionless   TINYINT 1       255     polynomial order of astrometry fit
    33 pca1x3y0        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    34 pca1x2y1        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    35 pca1x1y2        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    36 pca1x0y3        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    37 pca1x2y0        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    38 pca1x1y1        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    39 pca1x0y2        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    40 pca2x3y0        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    41 pca2x2y1        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    42 pca2x1y2        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    43 pca2x0y3        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    44 pca2x2y0        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    45 pca2x1y1        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    46 pca2x0y2        dimensionless   FLOAT   8       -999    polynomial coefficients for the astrometric fit
    47 calibModNum     dimensionless   SMALLINT        2       NA      calibration modification number
    48 batchID         dimensionless   BIGINT  8       NA      batch ID
    49 dataRelease     dimensionless   TINYINT 1       NA      Data release Version of this table
     1frameID         dimensionless   INT             4       NA      unique exposure/frame identifier.
     2frameName       dimensionless   VARCHAR(32)     32      NA      frame name provided by camera software
     3surveyID        dimensionless   TINYINT         1       NA      survey flag identifier
     4filterID        dimensionless   TINYINT         1       NA      filter identifier
     5cameraID        dimensionless   SMALLINT        2       NA      camera identifier
     6cameraConfigID  dimensionless   SMALLINT        2       NA      camera configuration identifier
     7telescopeID     dimensionless   SMALLINT        2       NA      telescope identifier
     8analysisVer     alphanumeric    VARCHAR(MAX)    8000    NA      IPP software analysis release
     9p1Recip         alphanumeric    VARCHAR(MAX)    8000    NA      IPP phase 1 MD5 Checksum
     10p2Recip         alphanumeric    VARCHAR(MAX)    8000    NA      IPP phase 2 MD5 Checksum
     11p3Recip         alphanumeric    VARCHAR(MAX)    8000    NA      IPP phase 3 MD5 Checksum
     12nOTA            alphanumeric    SMALLINT        2       -999    number of valid OTA/CCD images in this exposure
     13photoScat       magnitude       REAL            4       -999    global photometric scatter
     14numPhotoRef     dimensionless   INT             4       -999    number of photometric reference sources
     15expStart        days            FLOAT           8       -999    exposure start time in MJD
     16expTime         seconds         REAL            4       -999    exposure time
     17airmass         dimensionless   REAL            4       -999    airmass at mid-exposure
     18raBore          degrees         FLOAT           8       -999    RA of telescope boresight
     19decBore         degrees         FLOAT           8       -999    DEC of telescope boresight
     20ctype1          alphanumeric    VARCHAR(MAX)    8000    NA      name of astrometric projection in RA
     21ctype2          alphanumeric    VARCHAR(MAX)    8000    NA      name of astrometric projection in DEC
     22crval1          degrees         FLOAT           8       -999    RA corresponding to reference pixel
     23crval2          degrees         FLOAT           8       -999    DEC corresponding to reference pixel
     24crpix1          dimensionless   FLOAT           8       -999    reference pixel value for RA
     25crpix2          dimensionless   FLOAT           8       -999    reference pixel value for DEC
     26cdelt1          degrees/pixel   FLOAT           8       -999    scale factor for RA
     27cdelt2          degrees/pixel   FLOAT           8       -999    scale factor for DEC
     28pc001001        dimensionless   FLOAT           8       -999    elements of rotation/Dcale matrix
     29pc001002        dimensionless   FLOAT           8       -999    elements of rotation/Dcale matrix
     30pc002001        dimensionless   FLOAT           8       -999    elements of rotation/Dcale matrix
     31pc002002        dimensionless   FLOAT           8       -999    elements of rotation/Dcale matrix
     32polyOrder       dimensionless   TINYINT         1       255     polynomial order of astrometry fit
     33pca1x3y0        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     34pca1x2y1        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     35pca1x1y2        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     36pca1x0y3        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     37pca1x2y0        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     38pca1x1y1        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     39pca1x0y2        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     40pca2x3y0        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     41pca2x2y1        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     42pca2x1y2        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     43pca2x0y3        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     44pca2x2y0        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     45pca2x1y1        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     46pca2x0y2        dimensionless   FLOAT           8       -999    polynomial coefficients for the astrometric fit
     47calibModNum     dimensionless   SMALLINT        2       NA      calibration modification number
     48batchID         dimensionless   BIGINT          8       NA      batch ID
     49dataRelease     dimensionless   TINYINT         1       NA      Data release Version of this table
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/ImageMeta

    r37000 r37209  
    2222psfWidMinor     arcsec          REAL    4       -999    model PSF parameters at chip center
    2323psfTheta        degrees         REAL    4       -999    model PSF parameters at chip center
    24 momentXX        pixels          REAL    4       -999    moment XX
    25 momentXY        pixels          REAL    4       -999    moment XY
    26 momentYY        pixels          REAL    4       -999    moment YY
    27 momentM3C       pixels squared  REAL    4       -999    moment M3C
    28 momentM3S       pixels squared  REAL    4       -999    moment M3S
    29 momentM4C       pixels squared  REAL    4       -999    moment M4C
    30 momentM4S       pixels squared  REAL    4       -999    moment M4S
    31 momentR1        pixels          REAL    4       -999    moment R1
    32 momentRH        sqrt pixels     REAL    4       -999    moment RH
    33 apResid         magnitide       REAL    4       -999    corrected aperture residual
    34 dapResid        magnitide       REAL    4       -999    scatter of aperture corrections
     24momentMajor     pixels          REAL    4       -999    momentMajor
     25momentMinor     pixels          REAL    4       -999    momentMinor
     26momentM2C       pixels squared  REAL    4       -999    momentM2C 
     27momentM2S       pixels squared  REAL    4       -999    momentM2S 
     28momentM3        pixels squared  REAL    4       -999    momentM3   
     29momentM4        pixels squared  REAL    4       -999    momentM4   
     30apResid         magnitude       REAL    4       -999    corrected aperture residual
     31dapResid        magnitude       REAL    4       -999    scatter of aperture corrections
    3532detectorID      alphanumeric    VARCHAR(32)     32              identifier for actual CCD chip
    3633qaFlags         dimensionless   BIGINT  8       -999    Q/A flags for this OTA
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/StackMeta

    r37182 r37209  
    22batchID      dimensionless   BIGINT   8 NA batch identifier
    33surveyID     dimensionless   TINYINT  1 NA survey flag identifier
    4 filterID     dimensionless   TINYINT  1 NA fnilutemr eidriecnatl ifidier
     4filterID     dimensionless   TINYINT  1 NA filter number identifier
    55stackTypeID  dimensionless   TINYINT  1 0 stack type identifier
    66tessID       dimensionless   TINYINT  1       -1      ID mapping to tessellation names (eg, RINGS.V3, MD01.V3, etc)
  • branches/eam_branches/ipp-20140717/ippToPsps/pspsschema/SchemaNew18.0/PSPS_TABLES/MetaData_Tables/StackMeta.txt

    r37182 r37209  
    22batchID       | ipptopsps : internal
    33surveyID      | ipptopsps : internal, from survey name
    4 filterID      | ipptopsps : internal, lookup from filter (griz)
     4filterID      | ipptopsps : internal, lookup from filter (grizy)
    55stackTypeID   | ipptopsps : internal, *** hard-wired name ***
    66tessID        | smf : TESS_ID (table mapping)
Note: See TracChangeset for help on using the changeset viewer.