IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38792


Ignore:
Timestamp:
Oct 6, 2015, 3:34:07 PM (11 years ago)
Author:
eugene
Message:

changes to comments

File:
1 edited

Legend:

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

    r38763 r38792  
    151151            filterID = self.scratchDb.getFilterID(filter[1])
    152152
    153             # NOTE: Manipulation of FLAGS from cpsTable is to move ID_SECF_OBJ_EXT flag (0x01000000)
    154             # from bit 24 to bit 13 so that it fits into the SMALLINT Object.Flags
    155             # XXX EAM : 20140724 this manipulation is no longer needed : [grizy]Flags is now 4 byte (was 8 byte!)
    156 
    157153            # set the MeanObject fields based largely on dvopsps cps fields:
    158154
     
    169165                   " + cpsTable + " AS cps ON (cps.row = (ForcedMeanObject.row* " + str(filterCount) + ")-(" + str(filterCount) + " - " + str(filter[0]) + ")) \
    170166                   SET \
    171                     ForcedMeanObject." + filter[1] + "nTotal         = NWARP \
    172                    ,ForcedMeanObject." + filter[1] + "nIncPSFFlux     = NUSED_WRP \
    173                    ,ForcedMeanObject." + filter[1] + "nIncKronFlux    = NUSED_KRON_WRP \
    174                    ,ForcedMeanObject." + filter[1] + "nIncApFlux      = NUSED_AP_WRP \
     167                    ForcedMeanObject." + filter[1] + "nTotal           = NWARP \
     168                   ,ForcedMeanObject." + filter[1] + "nIncPSFFlux      = NUSED_WRP \
     169                   ,ForcedMeanObject." + filter[1] + "nIncKronFlux     = NUSED_KRON_WRP \
     170                   ,ForcedMeanObject." + filter[1] + "nIncApFlux       = NUSED_AP_WRP \
    175171                   ,ForcedMeanObject." + filter[1] + "FPSFFlux         = FLUX_PSF_WRP \
    176172                   ,ForcedMeanObject." + filter[1] + "FPSFFluxErr      = FLUX_PSF_WRP_ERR \
     
    182178                   ,ForcedMeanObject." + filter[1] + "FApFluxErr       = FLUX_AP_WRP_ERR \
    183179                   ,ForcedMeanObject." + filter[1] + "FApFluxStd       = FLUX_AP_WRP_STDEV \
    184                    ,ForcedMeanObject." + filter[1] + "Flags          = FLAGS "
     180                   ,ForcedMeanObject." + filter[1] + "Flags            = FLAGS "
    185181
    186182
     
    239235            filterID = self.scratchDb.getFilterID(filter[1])
    240236
    241             # NOTE: Manipulation of FLAGS from cpsTable is to move ID_SECF_OBJ_EXT flag (0x01000000)
    242             # from bit 24 to bit 13 so that it fits into the SMALLINT Object.Flags
    243             # XXX EAM : 20140724 this manipulation is no longer needed : [grizy]Flags is now 4 byte (was 8 byte!)
    244 
    245             # set the MeanObject fields based largely on dvopsps cps fields:
     237            # set the ForcedMeanObject fields based largely on dvopsps cps fields:
    246238
    247239            # XXX EAM 20140724 : filterCount is meant to match
     
    257249                   " + cpyTable + " AS cpy ON (cpy.row = (ForcedMeanObject.row* " + str(filterCount) + ")-(" + str(filterCount) + " - " + str(filter[0]) + ")) \
    258250                   SET \
    259                    ForcedMeanObject." + filter[1] + "nIncR5          =  NMEAS \
     251                   ForcedMeanObject."  + filter[1] + "nIncR5          =  NMEAS \
    260252                   ,ForcedMeanObject." + filter[1] + "nIncR6          =  NMEAS \
    261253                   ,ForcedMeanObject." + filter[1] + "nIncR7          =  NMEAS \
Note: See TracChangeset for help on using the changeset viewer.