Changeset 38771 for trunk/ippToPsps/jython/detectionbatch.py
- Timestamp:
- Sep 24, 2015, 7:49:00 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/detectionbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/detectionbatch.py
r38765 r38771 198 198 psfFwhm = 0.5*(float(psfFwhmMajor) + float(psfFwhmMinor)) 199 199 200 ast_cdx = self.getKeyFloat(header, "%.8f",'AST_CDX') 201 ast_cdy = self.getKeyFloat(header, "%.8f",'AST_CDY') 202 astroscat = sqrt(ast_cdx^2 + ast_cdy^2) 203 204 200 205 # insert image metadata into table 201 206 sqlLine = sqlUtility("INSERT INTO " + tableName + "(") … … 208 213 sqlLine.group("skyScat", self.getKeyFloat(header, "%.8f", 'MSKY_SIG')) 209 214 sqlLine.group("completMag", self.getKeyFloat(header, "%.8f", 'FLIMIT')) 210 sqlLine.group("astroScat", self.getKeyFloat(header, "%.8f", 'CERROR'))215 sqlLine.group("astroScat", astroscat) 211 216 sqlLine.group("photoScat", self.getKeyFloat(self.header, "%.8f", 'ZPT_ERR')) 212 217 sqlLine.group("numAstroRef", self.getKeyValue(header, 'NASTRO'))
Note:
See TracChangeset
for help on using the changeset viewer.
