lsst.pipe.tasks  13.0-66-gfbf2f2ce+5
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper Class Reference
Inheritance diagram for lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper:
lsst.pipe.tasks.mocks.simpleMapper.MapperMeta

Public Member Functions

def __init__ (self, root, kwargs)
 
def getDefaultLevel (self)
 
def getKeys (self, datasetType, level)
 
def update (self)
 
def keys (self)
 
def bypass_camera (self, datasetType, pythonType, location, dataId)
 
def map_camera (self, dataId, write=False)
 
def std_calexp (self, item, dataId)
 
def splitCcdExposureId (ccdExposureId)
 
def bypass_ccdExposureId (self, datasetType, pythonType, location, dataId)
 
def bypass_ccdExposureId_bits (self, datasetType, pythonType, location, dataId)
 
def bypass_deepCoaddId (self, datasetType, pythonType, location, dataId)
 
def bypass_deepCoaddId_bits (self, datasetType, pythonType, location, dataId)
 
def bypass_deepMergedCoaddId (self, datasetType, pythonType, location, dataId)
 
def bypass_deepMergedCoaddId_bits (self, datasetType, pythonType, location, dataId)
 

Public Attributes

 storage
 
 root
 
 camera
 
 index
 
 keyDict
 

Static Public Attributes

 mappings
 
 levels
 

Detailed Description

An extremely simple mapper for an imaginary camera for use in integration tests.

As SimpleMapper does not inherit from obs.base.CameraMapper, it does not
use a policy file to set mappings or a registry; all the information is here
(in the map_* and query_* methods).

The imaginary camera's raw data format has only 'visit' and 'ccd' keys, with
two CCDs per visit (by default).

Definition at line 237 of file simpleMapper.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.__init__ (   self,
  root,
  kwargs 
)

Definition at line 307 of file simpleMapper.py.

Member Function Documentation

◆ bypass_camera()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_camera (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 350 of file simpleMapper.py.

◆ bypass_ccdExposureId()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_ccdExposureId (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 382 of file simpleMapper.py.

◆ bypass_ccdExposureId_bits()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_ccdExposureId_bits (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 385 of file simpleMapper.py.

◆ bypass_deepCoaddId()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_deepCoaddId (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 388 of file simpleMapper.py.

◆ bypass_deepCoaddId_bits()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_deepCoaddId_bits (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 391 of file simpleMapper.py.

◆ bypass_deepMergedCoaddId()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_deepMergedCoaddId (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 394 of file simpleMapper.py.

◆ bypass_deepMergedCoaddId_bits()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_deepMergedCoaddId_bits (   self,
  datasetType,
  pythonType,
  location,
  dataId 
)

Definition at line 397 of file simpleMapper.py.

◆ getDefaultLevel()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.getDefaultLevel (   self)

Definition at line 315 of file simpleMapper.py.

◆ getKeys()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.getKeys (   self,
  datasetType,
  level 
)

Definition at line 317 of file simpleMapper.py.

◆ keys()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.keys (   self)

Definition at line 347 of file simpleMapper.py.

◆ map_camera()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.map_camera (   self,
  dataId,
  write = False 
)

Definition at line 353 of file simpleMapper.py.

◆ splitCcdExposureId()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.splitCcdExposureId (   ccdExposureId)

Definition at line 379 of file simpleMapper.py.

◆ std_calexp()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.std_calexp (   self,
  item,
  dataId 
)

Definition at line 358 of file simpleMapper.py.

◆ update()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.update (   self)

Definition at line 329 of file simpleMapper.py.

Member Data Documentation

◆ camera

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.camera

Definition at line 311 of file simpleMapper.py.

◆ index

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.index

Definition at line 332 of file simpleMapper.py.

◆ keyDict

lsst.pipe.tasks.mocks.simpleMapper.MapperMeta.keyDict
inherited

Definition at line 226 of file simpleMapper.py.

◆ levels

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.levels
static
Initial value:
= dict(
visit=['ccd'],
ccd=[],
)

Definition at line 302 of file simpleMapper.py.

◆ mappings

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.mappings
static

Definition at line 249 of file simpleMapper.py.

◆ root

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.root

Definition at line 310 of file simpleMapper.py.

◆ storage

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.storage

Definition at line 308 of file simpleMapper.py.


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