IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40274


Ignore:
Timestamp:
Dec 12, 2017, 11:01:55 AM (9 years ago)
Author:
eugene
Message:

split zp into zpPSF and zpAPER

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/diffbatch.py

    r39322 r40274  
    457457        sqlLine.group("a.raErr",       "b.raErr")   # NOTE: This is supplied above as well, is this needed??
    458458        sqlLine.group("a.decErr",      "b.decErr") # NOTE: This is supplied above as well, is this needed??
    459         sqlLine.group("a.zp",          "b.zp")
     459        sqlLine.group("a.zp",          "b.zpPSF")
    460460        sqlLine.group("a.telluricExt", "b.telluricExt")
    461461        sqlLine.group("a.airmass",     "b.airmass")
     
    633633               a.ra           = b.ra, \
    634634               a.dec          = b.dec_, \
    635                a.zp           = b.zp, \
     635               a.zp           = b.zpPSF, \
    636636               a.telluricExt  = b.telluricExt, \
    637637               a.airmass      = b.airmass, \
    638638               a.expTime      = b.expTime, \
    639639               a.DinfoFlag3   = b.flags  \
    640                a.DpsfFlux     = a.DpsfFlux    * b.zpFactor, \
    641                a.DpsfFluxErr  = a.DpsfFluxErr * b.zpFactor, \
    642                a.apFlux       = a.apFlux      * b.zpFactor, \
    643                a.apFluxErr    = a.apFluxErr   * b.zpFactor, \
    644                a.kronFlux     = a.kronFlux    * b.zpFactor, \
    645                a.kronFluxErr  = a.kronFluxErr * b.zpFactor  \
    646                a.sky          = a.sky         * b.zpFactor, \
    647                a.skyErr       = a.skyErr      * b.zpFactor  \
     640               a.DpsfFlux     = a.DpsfFlux    * b.zpFactorPSF, \
     641               a.DpsfFluxErr  = a.DpsfFluxErr * b.zpFactorPSF, \
     642               a.apFlux       = a.apFlux      * b.zpFactorAPER, \
     643               a.apFluxErr    = a.apFluxErr   * b.zpFactorAPER, \
     644               a.kronFlux     = a.kronFlux    * b.zpFactorAPER, \
     645               a.kronFluxErr  = a.kronFluxErr * b.zpFactorAPER  \
     646               a.sky          = a.sky         * b.zpFactorAPER, \
     647               a.skyErr       = a.skyErr      * b.zpFactorAPER  \
    648648               WHERE a.ippDetectID = b.ippDetectID \
    649649               AND b.imageID = " + str(imageID)
Note: See TracChangeset for help on using the changeset viewer.