lsst.pipe.tasks  18.1.0-21-gb3d55290+9
Public Member Functions | Static 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 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)
 

Static Public Member Functions

def splitCcdExposureId (ccdExposureId)
 

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 256 of file simpleMapper.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

◆ bypass_ccdExposureId()

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

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

◆ bypass_deepCoaddId()

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

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

◆ bypass_deepMergedCoaddId()

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

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

◆ getDefaultLevel()

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

Definition at line 340 of file simpleMapper.py.

◆ getKeys()

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

Definition at line 343 of file simpleMapper.py.

◆ keys()

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

Definition at line 373 of file simpleMapper.py.

◆ map_camera()

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

Definition at line 379 of file simpleMapper.py.

◆ splitCcdExposureId()

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

Definition at line 407 of file simpleMapper.py.

◆ std_calexp()

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

Definition at line 384 of file simpleMapper.py.

◆ update()

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

Definition at line 355 of file simpleMapper.py.

Member Data Documentation

◆ camera

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

Definition at line 336 of file simpleMapper.py.

◆ index

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

Definition at line 358 of file simpleMapper.py.

◆ keyDict

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

Definition at line 245 of file simpleMapper.py.

◆ levels

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

Definition at line 327 of file simpleMapper.py.

◆ mappings

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

Definition at line 268 of file simpleMapper.py.

◆ root

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

Definition at line 335 of file simpleMapper.py.

◆ storage

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

Definition at line 333 of file simpleMapper.py.


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