Changeset 38792
- Timestamp:
- Oct 6, 2015, 3:34:07 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/forcedobjectbatch.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/forcedobjectbatch.py
r38763 r38792 151 151 filterID = self.scratchDb.getFilterID(filter[1]) 152 152 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.Flags155 # XXX EAM : 20140724 this manipulation is no longer needed : [grizy]Flags is now 4 byte (was 8 byte!)156 157 153 # set the MeanObject fields based largely on dvopsps cps fields: 158 154 … … 169 165 " + cpsTable + " AS cps ON (cps.row = (ForcedMeanObject.row* " + str(filterCount) + ")-(" + str(filterCount) + " - " + str(filter[0]) + ")) \ 170 166 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 \ 175 171 ,ForcedMeanObject." + filter[1] + "FPSFFlux = FLUX_PSF_WRP \ 176 172 ,ForcedMeanObject." + filter[1] + "FPSFFluxErr = FLUX_PSF_WRP_ERR \ … … 182 178 ,ForcedMeanObject." + filter[1] + "FApFluxErr = FLUX_AP_WRP_ERR \ 183 179 ,ForcedMeanObject." + filter[1] + "FApFluxStd = FLUX_AP_WRP_STDEV \ 184 ,ForcedMeanObject." + filter[1] + "Flags = FLAGS "180 ,ForcedMeanObject." + filter[1] + "Flags = FLAGS " 185 181 186 182 … … 239 235 filterID = self.scratchDb.getFilterID(filter[1]) 240 236 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: 246 238 247 239 # XXX EAM 20140724 : filterCount is meant to match … … 257 249 " + cpyTable + " AS cpy ON (cpy.row = (ForcedMeanObject.row* " + str(filterCount) + ")-(" + str(filterCount) + " - " + str(filter[0]) + ")) \ 258 250 SET \ 259 ForcedMeanObject." + filter[1] + "nIncR5 = NMEAS \251 ForcedMeanObject." + filter[1] + "nIncR5 = NMEAS \ 260 252 ,ForcedMeanObject." + filter[1] + "nIncR6 = NMEAS \ 261 253 ,ForcedMeanObject." + filter[1] + "nIncR7 = NMEAS \
Note:
See TracChangeset
for help on using the changeset viewer.
