IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37673


Ignore:
Timestamp:
Nov 26, 2014, 5:41:52 AM (12 years ago)
Author:
eugene
Message:

mods to the ForcedWarp tables

Location:
trunk/ippToPsps/pspsschema/SchemaNew19.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/pspsschema/SchemaNew19.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/Detection.txt

    r37592 r37673  
     1
    12objID           + dvo = average.extID [calculated in addstar]
    23uniquePspsP2id + ipptopsps : combination of batch_id, ota, and counter
     
    3536psfQfPerfect    + smf:PSF_QF_PERFECT
    3637psfChiSq        + smf:PSF_CHISQ
    37 psfLikelihood   + smf:psfLikelihood(EXT_NSIGMA)
     38psfLikelihood   + smf:EXT_NSIGMA
    3839momentXX        + smf:MOMENTS_XX
    3940momentXY        + smf:MOMENTS_XY
  • trunk/ippToPsps/pspsschema/SchemaNew19.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/ForcedMeanObject.txt

    r37592 r37673  
    11                 
    22objID            = cpt.extID
    3 uniquePspsFOid  = ipptopsps
     3uniquePspsFOid   = ipptopsps
    44ippObjID         = cpt.objID | cpt.catID << 32
    55nDetections      = sql sum of cps.NCODE (xnTotal)
     
    88gStackID         = ipptopsps / gpc1 db
    99gnTotal          = cps.NWARP
    10 gnIncPSFMag      = cps.nused_wrp
    11 gnIncKronMag     = cps.nused_kron_wrp
    12 gnIncApMag       = cps.nused_ap_wrp
     10gnIncPSFFlux     = cps.NUSED_WRP
     11gnIncKronFlux    = cps.NUSED_KRON_WRP
     12gnIncApFlux      = cps.NUSED_AP_WRP
    1313gnIncR5          = cpy.NMEAS
    1414gnIncR6          = cpy.NMEAS
    1515---------------- =
    16 gPSFMag          = cps.MAG_PSF_WRP
    17 gPSFMagErr       = cps.MAG_PSF_WRP_ERR
    18 gPSFMagStd       = cps.MAG_PSF_WRP_STD
    19 gKronMag         = cps.MAG_KRON_WRP
    20 gKronMagErr      = cps.MAG_KRON_WRP_ERR
    21 gKronMagStd      = cps.MAG_KRON_WRP_STD
    22 gApMag           = cps.MAG_AP_WRP
    23 gApMagErr        = cps.MAG_AP_WRP_ERR
    24 gApMagStd        = cps.MAG_AP_WRP_STD
     16gPSFFlux         = cps.FLUX_PSF_WRP
     17gPSFFluxErr      = cps.FLUX_PSF_WRP_ERR
     18gPSFFluxStd      = cps.FLUX_PSF_WRP_STD
     19gKronFlux        = cps.FLUX_KRON_WRP
     20gKronFluxErr     = cps.FLUX_KRON_WRP_ERR
     21gKronFluxStd     = cps.FLUX_KRON_WRP_STD
     22gApFlux          = cps.FLUX_AP_WRP
     23gApFluxErr       = cps.FLUX_AP_WRP_ERR
     24gApFluxStd       = cps.FLUX_AP_WRP_STD
    2525---------------- =
    2626gFmeanflxR5      = cpy.FLUX_AP_R5
     
    6161[NOTES:
    6262
    63  * PSF Mag, Kron Mag, Ap Mag stats are all
     63 * PSF Flux, Kron Flux, Ap Flux stats are all
    6464   calculated from values in the existing Measure table
    65 
    66    XXX : no! we need to record fluxes, not mags
    6765
    6866 * R5 & R6 ap flux values & lensing parameters need
  • trunk/ippToPsps/pspsschema/SchemaNew19.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/ForcedWarpExtended.txt

    r37592 r37673  
    11
    2 objID            = cpt.extID (???)
    3 uniquePspsFWid = ipptopsps
     2objID            = cpt.extID
     3uniquePspsFWid   = ipptopsps
    44detectID         = cpm.extID (???)
    5 ippObjID         = cpx.obj_ID | cpx.cat_ID << 32
    6 ippDetectID      = cpx.det_ID (???)
     5ippObjID         = cpt.obj_ID | cpx.cat_ID << 32
     6ippDetectID      = cmf.IPP_IDET
    77filterID         = ipptopsps / gpc1
    88surveyID         = ipptopsps
     
    1111skyCellID        = ipptopsps / gpc1
    1212dvoRegionID      = ipptopsps / gpc1
    13 obsTime          = smf
     13obsTime          = cmf
    1414---------------- =
    15 lensObjSmearX11  = cpx.X11_SM_OBJ
    16 lensObjSmearX12  = cpx.X12_SM_OBJ
    17 lensObjSmearX22  = cpx.X22_SM_OBJ
    18 lensObjSmearE1   = cpx.E1_SM_OBJ
    19 lensObjSmearE2   = cpx.E2_SM_OBJ
    20 lensObjShearX11  = cpx.X11_SH_OBJ
    21 lensObjShearX12  = cpx.X12_SH_OBJ
    22 lensObjShearX22  = cpx.X22_SH_OBJ
    23 lensObjShearE1   = cpx.E1_SH_OBJ
    24 lensObjShearE2   = cpx.E2_SH_OBJ
    25 lensPSFSmearX11  = cpx.X11_SM_PSF
    26 lensPSFSmearX12  = cpx.X12_SM_PSF
    27 lensPSFSmearX22  = cpx.X22_SM_PSF
    28 lensPSFSmearE1   = cpx.E1_SM_PSF
    29 lensPSFSmearE2   = cpx.E2_SM_PSF
    30 lensPSFShearX11  = cpx.X11_SH_PSF
    31 lensPSFShearX12  = cpx.X12_SH_PSF
    32 lensPSFShearX22  = cpx.X22_SH_PSF
    33 lensPSFShearE1   = cpx.E1_SH_PSF
    34 lensPSFShearE2   = cpx.E2_SH_PSF
     15lensObjSmearX11  = cmf.X11_SM_OBJ
     16lensObjSmearX12  = cmf.X12_SM_OBJ
     17lensObjSmearX22  = cmf.X22_SM_OBJ
     18lensObjSmearE1   = cmf.E1_SM_OBJ
     19lensObjSmearE2   = cmf.E2_SM_OBJ
     20lensObjShearX11  = cmf.X11_SH_OBJ
     21lensObjShearX12  = cmf.X12_SH_OBJ
     22lensObjShearX22  = cmf.X22_SH_OBJ
     23lensObjShearE1   = cmf.E1_SH_OBJ
     24lensObjShearE2   = cmf.E2_SH_OBJ
     25lensPSFSmearX11  = cmf.X11_SM_PSF
     26lensPSFSmearX12  = cmf.X12_SM_PSF
     27lensPSFSmearX22  = cmf.X22_SM_PSF
     28lensPSFSmearE1   = cmf.E1_SM_PSF
     29lensPSFSmearE2   = cmf.E2_SM_PSF
     30lensPSFShearX11  = cmf.X11_SH_PSF
     31lensPSFShearX12  = cmf.X12_SH_PSF
     32lensPSFShearX22  = cmf.X22_SH_PSF
     33lensPSFShearE1   = cmf.E1_SH_PSF
     34lensPSFShearE2   = cmf.E2_SH_PSF
    3535---------------- =
    36 flxR5            = cpx.FLX_AP_R5
    37 flxR5Err         = cpx.FLX_ERR_AP_R5
    38 flxR5Std         = cpx.FLX_STD_AP_R5
    39 flxR5Fill        = cpx.FLX_FIL_AP_R5
    40 flxR6            = cpx.FLX_AP_R6
    41 flxR6Err         = cpx.FLX_ERR_AP_R6
    42 flxR6Std         = cpx.FLX_STD_AP_R6
    43 flxR6Fill        = cpx.FLX_FIL_AP_R6
     36flxR5            = cmf.FLX_AP_R5
     37flxR5Err         = cmf.FLX_ERR_AP_R5
     38flxR5Std         = cmf.FLX_STD_AP_R5
     39flxR5Fill        = cmf.FLX_FIL_AP_R5
     40flxR6            = cmf.FLX_AP_R6
     41flxR6Err         = cmf.FLX_ERR_AP_R6
     42flxR6Std         = cmf.FLX_STD_AP_R6
     43flxR6Fill        = cmf.FLX_FIL_AP_R6
    4444---------------- =
  • trunk/ippToPsps/pspsschema/SchemaNew19.0/PSPS_TABLES/Fundamental_IPP_Data_Product_Tables/ForcedWarpMeasurement.txt

    r37592 r37673  
    33uniquePspsFWid   = ipptopsps
    44detectID         = cpm.extID (???)
    5 ippObjID         = cpx.obj_id | cps.cat_id << 32
    6 ippDetectID      = cpx.det_id (???)
     5ippObjID         = cpt.obj_id | cpt.cat_id << 32
     6ippDetectID      = smf:IPP_IDET
    77filterID         = ipptopsps /gpc1
    88surveyID         = ipptopsps
     
    1313obsTime          = smf
    1414---------------- =
    15 zp               = smf (???)
    16 telluricExt      = smf (???) (zp - zpNominal)
     15zp               = dvopsps zp
     16telluricExt      = dvopsps (zp - zpNominal)
    1717expTime          = smf
    1818airMass          = smf
    1919---------------- =
    20 psfFlux          = smf
    21 psfFluxErr       = smf
    22 psfMajorFWHM     = smf [PSF_MAJOR is Sxx parameter, NOT FWHM]
    23 psfMinorFWHM     = smf [PSF_MAJOR is Sxx parameter, NOT FWHM]
    24 psfTheta         = smf
    25 psfCore          = smf [XXX : not currently written out!!]
    26 psfQf            = smf
    27 psfQfPerfect     = smf
    28 psfChiSq         = smf
    29 psfLikelihood    = ipptopsps
    30 momentXX         = smf
    31 momentXY         = smf
    32 momentYY         = smf
    33 momentR1         = smf
    34 momentRH         = smf [XXX : MOMENTS_RH is NOT half-light radius]
    35 momentM3C        = smf
    36 momentM3S        = smf
    37 momentM4C        = smf
    38 momentM4S        = smf
     20psfFlux          = smf:PSF_INST_FLUX / EXPTIME   
     21psfFluxErr       = smf:PSF_INST_FLUX_SIG / EXPTIME
     22psfMajorFWHM     = smf:PSF_FWHM_MAJ
     23psfMinorFWHM     = smf:PSF_FWHM_MIN
     24psfTheta         = smf:PSF_THETA           
     25psfCore          = smf:PSF_CORE     
     26psfQf            = smf:PSF_QF       
     27psfQfPerfect     = smf:PSF_QF_PERFECT
     28psfChiSq         = smf:PSF_CHISQ
     29psfLikelihood    = smf:NEXT_NSIGMA
     30momentXX         = smf:MOMENTS_XX
     31momentXY         = smf:MOMENTS_XY
     32momentYY         = smf:MOMENTS_YY
     33momentR1         = smf:MOMENTS_R1
     34momentRH         = smf:MOMENTS_RH
     35momentM3C        = smf:MOMENTS_M3C
     36momentM3S        = smf:MOMENTS_M3S
     37momentM4C        = smf:MOMENTS_M4C
     38momentM4S        = smf:MOMENTS_M4S
    3939                 =
    40 apFlux           = smf [PS1_V4]
    41 apFluxErr        = smf [PS1_V4]
    42 apFillF          = smf [EAM: add to smf output]
    43 kronFlux         = smf
    44 kronFluxErr      = smf
    45 kronRad          = (2.5*R1)
    46 kronRadErr       = [drop : not currently calculated]
     40apFlux           = smf:AP_FLUX                                 
     41apFluxErr        = smf:AP_FLUX_SIG                             
     42apFillF          = smf:AP_NPIX / (pi * (AP_MAG_RADIUS - 0.5)^2)
     43kronFlux         = smf:KRON_FLUX           
     44kronFluxErr      = smf:KRON_FLUX_ERR
     45kronRad          = smf:2.5*MOMENTS_R1
    4746---------------- =
    48 sky              = smf
    49 skyErr           = smf
    50 infoFlag         = smf
     47sky              = smf:SKY / exptime     
     48skyErr           = smf:SKY_SIGMA / exptime
     49infoFlag         = smf:FLAGS
     50infoFlag2        = smf:FLAGS2 | (dvo.measure.flags << 13)
    5151dataRelease      = ipptopsps
Note: See TracChangeset for help on using the changeset viewer.