IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38767


Ignore:
Timestamp:
Sep 24, 2015, 8:33:19 AM (11 years ago)
Author:
heather
Message:

astroscat changes for st

Location:
trunk/ippToPsps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/config/tables.ST.vot

    r38766 r38767  
    4848      </FIELD>
    4949      <FIELD name="astroScat" arraysize="1" datatype="float" unit="dimensionless" default="-999">
    50         <DESCRIPTION>Astrometric scatter relative to reference catalog.</DESCRIPTION>
     50        <DESCRIPTION>Measurement of the calibration (not astrometric error) defined to be SQRT(AST_CDX^2 + AST_CDY^2)</DESCRIPTION>
    5151      </FIELD>
    5252      <FIELD name="photoScat" arraysize="1" datatype="float" unit="dimensionless" default="-999">
  • trunk/ippToPsps/jython/stackbatch.py

    r38766 r38767  
    227227        psfmodel    = self.getKeyValue(header, 'PSFMODEL')
    228228
     229        ast_cdx = self.getKeyFloat(header, "%.8f",'AST_CDX')
     230        ast_cdy = self.getKeyFloat(header, "%.8f",'AST_CDY')
     231        astroscat = sqrt(ast_cdx^2 + ast_cdy^2)
     232       
    229233        # make a table
    230234        filterID = self.scratchDb.getFilterID(filter)
     
    257261        sqlLine.group("psfModelID",    psfmodel)           
    258262        sqlLine.group("psfFwhm_mean",  fwhm_maj)     
    259         sqlLine.group("psfFwhm_max",   fwhm_maj_uq)   
     263        sqlLine.group("psfFwhm_max",   fwhm_maj_uq)
     264        sqlLine.group("astroScat", astroscat)
    260265        sqlLine.group("photoZero",     self.getKeyFloat(header, "%.5f", 'FPA.ZP'))
    261266        sqlLine.group("ctype1",        header['CTYPE1']) 
Note: See TracChangeset for help on using the changeset viewer.