Changeset 38771
- Timestamp:
- Sep 24, 2015, 7:49:00 PM (11 years ago)
- Location:
- trunk/ippToPsps
- Files:
-
- 2 edited
-
config/tables.P2.vot (modified) (1 diff)
-
jython/detectionbatch.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/config/tables.P2.vot
r38765 r38771 185 185 </FIELD> 186 186 <FIELD name="astroScat" arraysize="1" datatype="float" unit="arcsec" default="-999"> 187 <DESCRIPTION> Astrometric scatter relative to reference catalog.</DESCRIPTION>187 <DESCRIPTION>Measurement of the calibration (not astrometric error) defined to be SQRT(AST_CDX^2 + AST_CDY^2)</DESCRIPTION> 188 188 </FIELD> 189 189 <FIELD name="photoScat" arraysize="1" datatype="float" unit="magnitudes" default="-999"> -
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.
