Changeset 38397 for trunk/ippToPsps/jython/forcedobjectbatch.py
- Timestamp:
- Jun 5, 2015, 5:09:21 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/forcedobjectbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/forcedobjectbatch.py
r38290 r38397 173 173 ,ForcedMeanObject." + filter[1] + "nIncKronFlux = NUSED_KRON_WRP \ 174 174 ,ForcedMeanObject." + filter[1] + "nIncApFlux = NUSED_AP_WRP \ 175 ,ForcedMeanObject." + filter[1] + " PSFFlux = FLUX_PSF_WRP \176 ,ForcedMeanObject." + filter[1] + " PSFFluxErr = FLUX_PSF_WRP_ERR \177 ,ForcedMeanObject." + filter[1] + " PSFFluxStd = FLUX_PSF_WRP_STDEV \178 ,ForcedMeanObject." + filter[1] + " KronFlux = FLUX_KRON_WRP \179 ,ForcedMeanObject." + filter[1] + " KronFluxErr = FLUX_KRON_WRP_ERR \180 ,ForcedMeanObject." + filter[1] + " KronFluxStd = FLUX_KRON_WRP_STDEV \181 ,ForcedMeanObject." + filter[1] + " ApFlux = FLUX_AP_WRP \182 ,ForcedMeanObject." + filter[1] + " ApFluxErr = FLUX_AP_WRP_ERR \183 ,ForcedMeanObject." + filter[1] + " ApFluxStd = FLUX_AP_WRP_STDEV \175 ,ForcedMeanObject." + filter[1] + "FPSFFlux = FLUX_PSF_WRP \ 176 ,ForcedMeanObject." + filter[1] + "FPSFFluxErr = FLUX_PSF_WRP_ERR \ 177 ,ForcedMeanObject." + filter[1] + "FPSFFluxStd = FLUX_PSF_WRP_STDEV \ 178 ,ForcedMeanObject." + filter[1] + "FKronFlux = FLUX_KRON_WRP \ 179 ,ForcedMeanObject." + filter[1] + "FKronFluxErr = FLUX_KRON_WRP_ERR \ 180 ,ForcedMeanObject." + filter[1] + "FKronFluxStd = FLUX_KRON_WRP_STDEV \ 181 ,ForcedMeanObject." + filter[1] + "FApFlux = FLUX_AP_WRP \ 182 ,ForcedMeanObject." + filter[1] + "FApFluxErr = FLUX_AP_WRP_ERR \ 183 ,ForcedMeanObject." + filter[1] + "FApFluxStd = FLUX_AP_WRP_STDEV \ 184 184 ,ForcedMeanObject." + filter[1] + "Flags = FLAGS " 185 185 … … 333 333 sqlLine.group("ippObjID", "OBJ_ID + (CAT_ID << 32)") # NOTE: shift by 32 bits exactly 334 334 sqlLine.group("batchID", "'" + str(self.batchID) + "'") 335 sqlLine.group("randomForcedObjID", " FLOOR(RAND("+str(self.batchID)+")*9223372036854775807)")335 sqlLine.group("randomForcedObjID", "RAND("+str(self.batchID)+")") 336 336 sqlLine.group("nDetections", "'0'") 337 337 sql = sqlLine.makeRaw(") SELECT ", " FROM " + cptTableName)
Note:
See TracChangeset
for help on using the changeset viewer.
