lsst.pipe.tasks  21.0.0-164-g99ed7ed8+88c79a77fd
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)
 
def bypass_deepCoadd_filterLabel (self, *args, **kwargs)
 

Static Public Member Functions

def splitCcdExposureId (ccdExposureId)
 

Public Attributes

 storage
 
 root
 
 camera
 
 filterLabel
 
 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 254 of file simpleMapper.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

◆ bypass_ccdExposureId()

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

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

◆ bypass_deepCoadd_filterLabel()

def lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.bypass_deepCoadd_filterLabel (   self,
args,
**  kwargs 
)
To return a useful filterLabel for MergeDetectionsTask.

Definition at line 432 of file simpleMapper.py.

◆ bypass_deepCoaddId()

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

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

◆ bypass_deepMergedCoaddId()

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

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

◆ getDefaultLevel()

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

Definition at line 344 of file simpleMapper.py.

◆ getKeys()

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

Definition at line 347 of file simpleMapper.py.

◆ keys()

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

Definition at line 377 of file simpleMapper.py.

◆ map_camera()

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

Definition at line 383 of file simpleMapper.py.

◆ splitCcdExposureId()

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

Definition at line 411 of file simpleMapper.py.

◆ std_calexp()

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

Definition at line 388 of file simpleMapper.py.

◆ update()

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

Definition at line 359 of file simpleMapper.py.

Member Data Documentation

◆ camera

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

Definition at line 335 of file simpleMapper.py.

◆ filterLabel

lsst.pipe.tasks.mocks.simpleMapper.SimpleMapper.filterLabel

Definition at line 341 of file simpleMapper.py.

◆ index

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

Definition at line 362 of file simpleMapper.py.

◆ keyDict

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

Definition at line 243 of file simpleMapper.py.

◆ levels

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

Definition at line 326 of file simpleMapper.py.

◆ mappings

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

Definition at line 266 of file simpleMapper.py.

◆ root

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

Definition at line 334 of file simpleMapper.py.

◆ storage

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

Definition at line 332 of file simpleMapper.py.


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