lsst.obs.base  13.0-48-g57a2a7b+1
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | List of all members
lsst.obs.base.mapping.ExposureMapping Class Reference
Inheritance diagram for lsst.obs.base.mapping.ExposureMapping:
lsst.obs.base.mapping.Mapping

Public Member Functions

def __init__
 
def standardize
 
def template
 
def keys
 
def map
 
def lookup
 
def have
 
def need
 

Public Attributes

 columns
 
 datasetType
 
 registry
 
 rootStorage
 
 keyDict
 
 python
 
 persistable
 
 storage
 
 level
 
 tables
 
 range
 
 obsTimeName
 
 recipe
 

Detailed Description

ExposureMapping is a Mapping subclass for normal exposures.

Definition at line 318 of file mapping.py.

Constructor & Destructor Documentation

def lsst.obs.base.mapping.ExposureMapping.__init__ (   self,
  datasetType,
  policy,
  registry,
  root,
  kwargs 
)
Constructor for Mapping class.
@param datasetType    (string)
@param policy         (daf_persistence.Policy, or pexPolicy.Policy (only for backward compatibility))
              Mapping Policy
@param registry       (lsst.obs.base.Registry) Registry for metadata lookups
@param root           (string) Path of root directory

Definition at line 321 of file mapping.py.

Member Function Documentation

def lsst.obs.base.mapping.Mapping.have (   self,
  properties,
  dataId 
)
inherited
Returns whether the provided data identifier has all
the properties in the provided list.
@param properties (list of strings) Properties required
@parm dataId      (dict) Dataset identifier
@return (bool) True if all properties are present

Definition at line 250 of file mapping.py.

def lsst.obs.base.mapping.Mapping.keys (   self)
inherited
Return the dict of keys and value types required for this mapping.

Definition at line 133 of file mapping.py.

def lsst.obs.base.mapping.Mapping.lookup (   self,
  properties,
  dataId 
)
inherited
Look up properties for in a metadata registry given a partial
dataset identifier.
@param properties (list of strings)
@param dataId     (dict) Dataset identifier
@return (list of tuples) values of properties

Definition at line 177 of file mapping.py.

def lsst.obs.base.mapping.Mapping.map (   self,
  mapper,
  dataId,
  write = False 
)
inherited
Standard implementation of map function.
@param mapper (lsst.daf.persistence.Mapper)
@param dataId (dict) Dataset identifier
@return (lsst.daf.persistence.ButlerLocation)

Definition at line 137 of file mapping.py.

def lsst.obs.base.mapping.Mapping.need (   self,
  properties,
  dataId 
)
inherited
Ensures all properties in the provided list are present in
the data identifier, looking them up as needed.  This is only
possible for the case where the data identifies a single
exposure.
@param properties (list of strings) Properties required
@param dataId     (dict) Partial dataset identifier
@return (dict) copy of dataset identifier with enhanced values

Definition at line 261 of file mapping.py.

def lsst.obs.base.mapping.ExposureMapping.standardize (   self,
  mapper,
  item,
  dataId 
)

Definition at line 333 of file mapping.py.

def lsst.obs.base.mapping.Mapping.template (   self)
inherited

Definition at line 126 of file mapping.py.

Member Data Documentation

lsst.obs.base.mapping.ExposureMapping.columns

Definition at line 331 of file mapping.py.

lsst.obs.base.mapping.Mapping.datasetType
inherited

Definition at line 89 of file mapping.py.

lsst.obs.base.mapping.Mapping.keyDict
inherited

Definition at line 100 of file mapping.py.

lsst.obs.base.mapping.Mapping.level
inherited

Definition at line 115 of file mapping.py.

lsst.obs.base.mapping.Mapping.obsTimeName
inherited

Definition at line 122 of file mapping.py.

lsst.obs.base.mapping.Mapping.persistable
inherited

Definition at line 112 of file mapping.py.

lsst.obs.base.mapping.Mapping.python
inherited

Definition at line 111 of file mapping.py.

lsst.obs.base.mapping.Mapping.range
inherited

Definition at line 120 of file mapping.py.

lsst.obs.base.mapping.Mapping.recipe
inherited

Definition at line 123 of file mapping.py.

lsst.obs.base.mapping.Mapping.registry
inherited

Definition at line 90 of file mapping.py.

lsst.obs.base.mapping.Mapping.rootStorage
inherited

Definition at line 91 of file mapping.py.

lsst.obs.base.mapping.Mapping.storage
inherited

Definition at line 113 of file mapping.py.

lsst.obs.base.mapping.Mapping.tables
inherited

Definition at line 117 of file mapping.py.


The documentation for this class was generated from the following file: