lsst.afw  13.0-92-g8ecf155+1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
lsst.afw.cameraGeom.fitsUtils Namespace Reference

Classes

class  HeaderMap
 
class  HeaderAmpMap
 
class  HeaderDetectorMap
 
class  DetectorBuilder
 

Functions

def getByKey
 
def setByKey
 

Function Documentation

def lsst.afw.cameraGeom.fitsUtils.getByKey (   metadata,
  key 
)
Wrapper for getting a value from a metadata object by key.
   @param[in] metadata  metadata object to query for value
   @param[in] key       key to use for value lookup
   @returns value associated with key, None if key does not exist

Definition at line 11 of file fitsUtils.py.

def lsst.afw.cameraGeom.fitsUtils.setByKey (   metadata,
  key,
  value,
  clobber 
)
Wrapper for setting a value in a metadata object.  Deals with case
   where the key already exists.
   @param[in, out] metadata  metadata object ot modify in place.
   @param[in] key       key to associate with value
   @param[in] value     value to assign in the metadata object
   @param[in] clobber   Clobber the value if the key already exisists?

Definition at line 24 of file fitsUtils.py.