IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38927


Ignore:
Timestamp:
Oct 21, 2015, 10:17:52 AM (11 years ago)
Author:
bills
Message:

set photoZero and psfTheta (the value may not be quite right for psfTheta. Gene has a task
to investigate)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/forcedwarpbatch.py

    r38921 r38927  
    274274        # sqlLine.group("psfFwhm_mean",   self.getKeyFloat(header, "%.8f", 'FWHM_MAJ'))
    275275        # sqlLine.group("psfFwhm_max",    self.getKeyFloat(header, "%.8f", 'FW_MJ_UQ'))
    276         sqlLine.group("photoZero",      self.getKeyFloat(self.header, "%.8f", 'FP.ZP'))
     276
     277        # XXX: should psfTheta include the angle of the source chip in some way?
     278        sqlLine.group("psfTheta",       self.getKeyFloat(header, "%.8f", 'ANGLE'))
     279        sqlLine.group("photoZero",      self.getKeyFloat(header, "%.8f", 'FPA.ZP'))
    277280        # photoColor -- how do I set this? it's also not set in stack meta
    278281        sqlLine.group("ctype1",         self.getKeyValue(header, 'CTYPE1'));
Note: See TracChangeset for help on using the changeset viewer.