lsst.pipe.tasks  14.0-46-g76222d5f+2
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 238 of file simpleMapper.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 308 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 351 of file simpleMapper.py.

◆ bypass_ccdExposureId()

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

Definition at line 384 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 387 of file simpleMapper.py.

◆ bypass_deepCoaddId()

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

Definition at line 390 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 393 of file simpleMapper.py.

◆ bypass_deepMergedCoaddId()

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

Definition at line 396 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 399 of file simpleMapper.py.

◆ getDefaultLevel()

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

Definition at line 316 of file simpleMapper.py.

◆ getKeys()

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

Definition at line 318 of file simpleMapper.py.

◆ keys()

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

Definition at line 348 of file simpleMapper.py.

◆ map_camera()

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

Definition at line 354 of file simpleMapper.py.

◆ splitCcdExposureId()

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

Definition at line 381 of file simpleMapper.py.

◆ std_calexp()

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

Definition at line 359 of file simpleMapper.py.

◆ update()

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

Definition at line 330 of file simpleMapper.py.

Member Data Documentation

◆ camera

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

Definition at line 312 of file simpleMapper.py.

◆ index

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

Definition at line 333 of file simpleMapper.py.

◆ keyDict

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

Definition at line 227 of file simpleMapper.py.

◆ levels

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

Definition at line 303 of file simpleMapper.py.

◆ mappings

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

Definition at line 250 of file simpleMapper.py.

◆ root

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

Definition at line 311 of file simpleMapper.py.

◆ storage

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

Definition at line 309 of file simpleMapper.py.


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