|
def | __init__ (self, root, policy=None, **kwargs) |
|
def | std_stdTestType (self, item, dataId) |
|
def | bypass_bypassTestType (self, datasetType, pythonType, location, dataId) |
|
def | backup (self, datasetType, dataId) |
|
def | keys (self) |
|
def | getKeys (self, datasetType, level) |
|
def | getDefaultLevel (self) |
|
def | getDefaultSubLevel (self, level) |
|
def | getCameraName (cls) |
|
def | getPackageName (cls) |
|
def | getGen3Instrument (cls) |
|
def | getPackageDir (cls) |
|
def | map_camera (self, dataId, write=False) |
|
def | bypass_camera (self, datasetType, pythonType, butlerLocation, dataId) |
|
def | map_expIdInfo (self, dataId, write=False) |
|
def | bypass_expIdInfo (self, datasetType, pythonType, location, dataId) |
|
def | std_bfKernel (self, item, dataId) |
|
def | std_raw (self, item, dataId) |
|
def | map_skypolicy (self, dataId) |
|
def | std_skypolicy (self, item, dataId) |
|
def | getRegistry (self) |
|
def | getImageCompressionSettings (self, datasetType, dataId) |
|
Definition at line 28 of file compositeMapper.py.
◆ __init__()
def lsst.obs.base.test.compositeMapper.CompositeMapper.__init__ |
( |
|
self, |
|
|
|
root, |
|
|
|
policy = None , |
|
|
** |
kwargs |
|
) |
| |
◆ backup()
def lsst.obs.base.cameraMapper.CameraMapper.backup |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Rename any existing object with the given type and dataId.
The CameraMapper implementation saves objects in a sequence of e.g.:
- foo.fits
- foo.fits~1
- foo.fits~2
All of the backups will be placed in the output repo, however, and will
not be removed if they are found elsewhere in the _parent chain. This
means that the same file will be stored twice if the previous version
was found in an input repo.
Definition at line 620 of file cameraMapper.py.
◆ bypass_bypassTestType()
def lsst.obs.base.test.compositeMapper.CompositeMapper.bypass_bypassTestType |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
pythonType, |
|
|
|
location, |
|
|
|
dataId |
|
) |
| |
◆ bypass_camera()
def lsst.obs.base.cameraMapper.CameraMapper.bypass_camera |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
pythonType, |
|
|
|
butlerLocation, |
|
|
|
dataId |
|
) |
| |
|
inherited |
◆ bypass_expIdInfo()
def lsst.obs.base.cameraMapper.CameraMapper.bypass_expIdInfo |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
pythonType, |
|
|
|
location, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Hook to retrieve an lsst.obs.base.ExposureIdInfo for an exposure
Definition at line 790 of file cameraMapper.py.
◆ getCameraName()
def lsst.obs.base.cameraMapper.CameraMapper.getCameraName |
( |
|
cls | ) |
|
|
inherited |
Return the name of the camera that this CameraMapper is for.
Definition at line 715 of file cameraMapper.py.
◆ getDefaultLevel()
def lsst.obs.base.cameraMapper.CameraMapper.getDefaultLevel |
( |
|
self | ) |
|
|
inherited |
◆ getDefaultSubLevel()
def lsst.obs.base.cameraMapper.CameraMapper.getDefaultSubLevel |
( |
|
self, |
|
|
|
level |
|
) |
| |
|
inherited |
◆ getGen3Instrument()
def lsst.obs.base.cameraMapper.CameraMapper.getGen3Instrument |
( |
|
cls | ) |
|
|
inherited |
Return the gen3 Instrument class equivalent for this gen2 Mapper.
Returns
-------
instr : `type`
A `~lsst.obs.base.Instrument` class.
Definition at line 733 of file cameraMapper.py.
◆ getImageCompressionSettings()
def lsst.obs.base.cameraMapper.CameraMapper.getImageCompressionSettings |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Stuff image compression settings into a daf.base.PropertySet
This goes into the ButlerLocation's "additionalData", which gets
passed into the boost::persistence framework.
Parameters
----------
datasetType : `str`
Type of dataset for which to get the image compression settings.
dataId : `dict`
Dataset identifier.
Returns
-------
additionalData : `lsst.daf.base.PropertySet`
Image compression settings.
Definition at line 1324 of file cameraMapper.py.
◆ getKeys()
def lsst.obs.base.cameraMapper.CameraMapper.getKeys |
( |
|
self, |
|
|
|
datasetType, |
|
|
|
level |
|
) |
| |
|
inherited |
Return a dict of supported keys and their value types for a given
dataset type at a given level of the key hierarchy.
Parameters
----------
datasetType : `str`
Dataset type or None for all dataset types.
level : `str` or None
Level or None for all levels or '' for the default level for the
camera.
Returns
-------
`dict`
Keys are strings usable in a dataset identifier, values are their
value types.
Definition at line 671 of file cameraMapper.py.
◆ getPackageDir()
def lsst.obs.base.cameraMapper.CameraMapper.getPackageDir |
( |
|
cls | ) |
|
|
inherited |
◆ getPackageName()
def lsst.obs.base.cameraMapper.CameraMapper.getPackageName |
( |
|
cls | ) |
|
|
inherited |
Return the name of the package containing this CameraMapper.
Definition at line 726 of file cameraMapper.py.
◆ getRegistry()
def lsst.obs.base.cameraMapper.CameraMapper.getRegistry |
( |
|
self | ) |
|
|
inherited |
Get the registry used by this mapper.
Returns
-------
Registry or None
The registry used by this mapper for this mapper's repository.
Definition at line 1314 of file cameraMapper.py.
◆ getShortCcdName()
def lsst.obs.base.cameraMapper.CameraMapper.getShortCcdName |
( |
|
ccdName | ) |
|
|
staticinherited |
Convert a CCD name to a form useful as a filename
The default implementation converts spaces to underscores.
Definition at line 984 of file cameraMapper.py.
◆ keys()
def lsst.obs.base.cameraMapper.CameraMapper.keys |
( |
|
self | ) |
|
|
inherited |
Return supported keys.
Returns
-------
iterable
List of keys usable in a dataset identifier
Definition at line 661 of file cameraMapper.py.
◆ map_camera()
def lsst.obs.base.cameraMapper.CameraMapper.map_camera |
( |
|
self, |
|
|
|
dataId, |
|
|
|
write = False |
|
) |
| |
|
inherited |
◆ map_expIdInfo()
def lsst.obs.base.cameraMapper.CameraMapper.map_expIdInfo |
( |
|
self, |
|
|
|
dataId, |
|
|
|
write = False |
|
) |
| |
|
inherited |
◆ map_skypolicy()
def lsst.obs.base.cameraMapper.CameraMapper.map_skypolicy |
( |
|
self, |
|
|
|
dataId |
|
) |
| |
|
inherited |
◆ std_bfKernel()
def lsst.obs.base.cameraMapper.CameraMapper.std_bfKernel |
( |
|
self, |
|
|
|
item, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Disable standardization for bfKernel
bfKernel is a calibration product that is numpy array,
unlike other calibration products that are all images;
all calibration images are sent through _standardizeExposure
due to CalibrationMapping, but we don't want that to happen to bfKernel
Definition at line 796 of file cameraMapper.py.
◆ std_raw()
def lsst.obs.base.cameraMapper.CameraMapper.std_raw |
( |
|
self, |
|
|
|
item, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Standardize a raw dataset by converting it to an Exposure instead
of an Image
Definition at line 806 of file cameraMapper.py.
◆ std_skypolicy()
def lsst.obs.base.cameraMapper.CameraMapper.std_skypolicy |
( |
|
self, |
|
|
|
item, |
|
|
|
dataId |
|
) |
| |
|
inherited |
Standardize a sky policy by returning the one we use.
Definition at line 818 of file cameraMapper.py.
◆ std_stdTestType()
def lsst.obs.base.test.compositeMapper.CompositeMapper.std_stdTestType |
( |
|
self, |
|
|
|
item, |
|
|
|
dataId |
|
) |
| |
◆ calibRegistry
lsst.obs.base.cameraMapper.CameraMapper.calibRegistry |
|
inherited |
◆ camera
lsst.obs.base.cameraMapper.CameraMapper.camera |
|
inherited |
◆ cameraDataLocation
lsst.obs.base.cameraMapper.CameraMapper.cameraDataLocation |
|
inherited |
◆ defaultLevel
lsst.obs.base.cameraMapper.CameraMapper.defaultLevel |
|
inherited |
◆ defaultSubLevels
lsst.obs.base.cameraMapper.CameraMapper.defaultSubLevels |
|
inherited |
◆ filters
lsst.obs.base.cameraMapper.CameraMapper.filters |
|
inherited |
◆ keyDict
lsst.obs.base.cameraMapper.CameraMapper.keyDict |
|
inherited |
◆ levels
lsst.obs.base.cameraMapper.CameraMapper.levels |
|
inherited |
◆ log
lsst.obs.base.cameraMapper.CameraMapper.log |
|
inherited |
◆ makeRawVisitInfo
lsst.obs.base.cameraMapper.CameraMapper.makeRawVisitInfo |
|
inherited |
◆ MakeRawVisitInfoClass
lsst.obs.base.cameraMapper.CameraMapper.MakeRawVisitInfoClass = MakeRawVisitInfo |
|
staticinherited |
◆ mappings
lsst.obs.base.cameraMapper.CameraMapper.mappings |
|
inherited |
◆ packageName
string lsst.obs.base.test.compositeMapper.CompositeMapper.packageName = "obs_base" |
|
static |
◆ PupilFactoryClass
lsst.obs.base.cameraMapper.CameraMapper.PupilFactoryClass = afwCameraGeom.PupilFactory |
|
staticinherited |
◆ registry
lsst.obs.base.cameraMapper.CameraMapper.registry |
|
inherited |
◆ root
lsst.obs.base.cameraMapper.CameraMapper.root |
|
inherited |
◆ rootStorage
lsst.obs.base.cameraMapper.CameraMapper.rootStorage |
|
inherited |
◆ translatorClass
lsst.obs.base.cameraMapper.CameraMapper.translatorClass = None |
|
staticinherited |
The documentation for this class was generated from the following file: