IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35738


Ignore:
Timestamp:
Jul 2, 2013, 4:59:43 PM (13 years ago)
Author:
heather
Message:

added primaryF to be properly inserted

File:
1 edited

Legend:

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

    r35656 r35738  
    455455               ,psfQf \
    456456               ,psfQfPerfect \
     457               ,psfChiSq \
    457458               ,momentXX \
    458459               ,momentXY \
     
    469470               ,kronFluxErr \
    470471               ,kronRad \
    471                ,psfChiSq \
    472472               ,nFrames \
    473473               ,assocDate \
     
    495495               ,PSF_QF \
    496496               ,PSF_QF_PERFECT \
     497               ,PSF_CHISQ / PSF_NDOF \
    497498               ,MOMENTS_XX \
    498499               ,MOMENTS_XY \
     
    509510               ,KRON_FLUX_ERR / " + str(self.expTime) + " \
    510511               ,MOMENTS_R1 * 2.5 \
    511                ,PSF_CHISQ / PSF_NDOF \
    512512               ,N_FRAMES \
    513513               , '" + self.dateStr + "' \
     
    543543       
    544544        self.scratchDb.updateAllRows("StackDetection", "dataRelease", str(self.skychunk.dataRelease))
    545        
     545        #set primary F to 0
    546546        self.scratchDb.updateAllRows("StackDetection", "primaryF", "0")
    547547       
     
    553553       
    554554        self.updateDvoIDsAndFlags("StackDetection")
     555        #this now updates primary F as well
    555556        # response = raw_input("updated dvo ")
    556557       
     
    943944               a.objID = b.objID, \
    944945               a.infoFlag = b.flags << 45 | a.infoFlag \
     946               a.primaryF = b.flags & 0x10000 \
    945947               WHERE a.ippDetectID = b.ippDetectID \
    946948               AND b.imageID = " + str(imageID)
Note: See TracChangeset for help on using the changeset viewer.