IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

astroscat changes for st

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.