LSSTApplications
19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, inputPolicy=None, **kwargs) |
def | bypass_ccdExposureId (self, datasetType, pythonType, location, dataId) |
def | bypass_ccdExposureId_bits (self, datasetType, pythonType, location, dataId) |
def | validate (self, 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) |
def | __new__ (cls, *args, **kwargs) |
def | __getstate__ (self) |
def | __setstate__ (self, state) |
def | queryMetadata (self, datasetType, format, dataId) |
def | getDatasetTypes (self) |
def | map (self, datasetType, dataId, write=False) |
def | canStandardize (self, datasetType) |
def | standardize (self, datasetType, item, dataId) |
Static Public Member Functions | |
def | getShortCcdName (ccdName) |
Public Attributes | |
doFootprints | |
filterIdMap | |
log | |
root | |
levels | |
defaultLevel | |
defaultSubLevels | |
rootStorage | |
registry | |
calibRegistry | |
keyDict | |
cameraDataLocation | |
camera | |
filters | |
makeRawVisitInfo | |
mappings | |
Static Public Attributes | |
string | packageName = 'obs_test' |
MakeRawVisitInfoClass = MakeTestRawVisitInfo | |
PupilFactoryClass = afwCameraGeom.PupilFactory | |
translatorClass = None | |
Camera mapper for the Test camera.
Definition at line 34 of file testMapper.py.
def lsst.obs.test.testMapper.TestMapper.__init__ | ( | self, | |
inputPolicy = None , |
|||
** | kwargs | ||
) |
Definition at line 41 of file testMapper.py.
|
inherited |
|
inherited |
Create a new Mapper, saving arguments for pickling. This is in __new__ instead of __init__ to save the user from having to save the arguments themselves (either explicitly, or by calling the super's __init__ with all their *args,**kwargs. The resulting pickling system (of __new__, __getstate__ and __setstate__ is similar to how __reduce__ is usually used, except that we save the user from any responsibility (except when overriding __new__, but that is not common).
Definition at line 82 of file mapper.py.
|
inherited |
|
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.
Reimplemented from lsst.daf.persistence.mapper.Mapper.
Definition at line 599 of file cameraMapper.py.
|
inherited |
Return the (preloaded) camera object.
Definition at line 751 of file cameraMapper.py.
def lsst.obs.test.testMapper.TestMapper.bypass_ccdExposureId | ( | self, | |
datasetType, | |||
pythonType, | |||
location, | |||
dataId | |||
) |
Definition at line 101 of file testMapper.py.
def lsst.obs.test.testMapper.TestMapper.bypass_ccdExposureId_bits | ( | self, | |
datasetType, | |||
pythonType, | |||
location, | |||
dataId | |||
) |
Definition at line 104 of file testMapper.py.
|
inherited |
Hook to retrieve an lsst.obs.base.ExposureIdInfo for an exposure
Definition at line 769 of file cameraMapper.py.
|
inherited |
Return true if this mapper can standardize an object of the given dataset type.
|
inherited |
Return the name of the camera that this CameraMapper is for.
Definition at line 694 of file cameraMapper.py.
|
inherited |
|
inherited |
Definition at line 685 of file cameraMapper.py.
|
inherited |
Definition at line 688 of file cameraMapper.py.
|
inherited |
Return the gen3 Instrument class equivalent for this gen2 Mapper. Returns ------- instr : `type` A `~lsst.obs.base.Instrument` class.
Definition at line 712 of file cameraMapper.py.
|
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 1209 of file cameraMapper.py.
|
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 650 of file cameraMapper.py.
|
inherited |
Return the base directory of this package
Reimplemented in lsst.obs.base.test.baseMapper.BaseMapper.
Definition at line 732 of file cameraMapper.py.
|
inherited |
Return the name of the package containing this CameraMapper.
Definition at line 705 of file cameraMapper.py.
|
inherited |
Get the registry used by this mapper. Returns ------- Registry or None The registry used by this mapper for this mapper's repository.
Reimplemented from lsst.daf.persistence.mapper.Mapper.
Definition at line 1199 of file cameraMapper.py.
|
staticinherited |
Convert a CCD name to a form useful as a filename The default implementation converts spaces to underscores.
Definition at line 963 of file cameraMapper.py.
|
inherited |
Return supported keys. Returns ------- iterable List of keys usable in a dataset identifier
Reimplemented from lsst.daf.persistence.mapper.Mapper.
Definition at line 640 of file cameraMapper.py.
|
inherited |
Map a data id using the mapping method for its dataset type. Parameters ---------- datasetType : string The datasetType to map dataId : DataId instance The dataId to use when mapping write : bool, optional Indicates if the map is being performed for a read operation (False) or a write operation (True) Returns ------- ButlerLocation or a list of ButlerLocation The location(s) found for the map operation. If write is True, a list is returned. If write is False a single ButlerLocation is returned. Raises ------ NoResults If no locaiton was found for this map operation, the derived mapper class may raise a lsst.daf.persistence.NoResults exception. Butler catches this and will look in the next Repository if there is one.
Definition at line 135 of file mapper.py.
|
inherited |
|
inherited |
Definition at line 758 of file cameraMapper.py.
|
inherited |
|
inherited |
|
inherited |
|
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 775 of file cameraMapper.py.
|
inherited |
Standardize a raw dataset by converting it to an Exposure instead of an Image
Reimplemented in lsst.obs.decam.decamMapper.DecamMapper.
Definition at line 785 of file cameraMapper.py.
|
inherited |
Standardize a sky policy by returning the one we use.
Definition at line 797 of file cameraMapper.py.
def lsst.obs.test.testMapper.TestMapper.validate | ( | self, | |
dataId | |||
) |
Validate a dataId's contents. If the dataId is valid, return it. If an invalid component can be transformed into a valid one, copy the dataId, fix the component, and return the copy. Otherwise, raise an exception.
Reimplemented from lsst.daf.persistence.mapper.Mapper.
Definition at line 107 of file testMapper.py.
|
inherited |
Definition at line 255 of file cameraMapper.py.
|
inherited |
Definition at line 273 of file cameraMapper.py.
|
inherited |
Definition at line 272 of file cameraMapper.py.
|
inherited |
Definition at line 214 of file cameraMapper.py.
|
inherited |
Definition at line 215 of file cameraMapper.py.
lsst.obs.test.testMapper.TestMapper.doFootprints |
Definition at line 45 of file testMapper.py.
lsst.obs.test.testMapper.TestMapper.filterIdMap |
Definition at line 54 of file testMapper.py.
|
inherited |
Definition at line 276 of file cameraMapper.py.
|
inherited |
Definition at line 266 of file cameraMapper.py.
|
inherited |
Definition at line 209 of file cameraMapper.py.
|
inherited |
Definition at line 195 of file cameraMapper.py.
|
inherited |
Definition at line 283 of file cameraMapper.py.
|
static |
Definition at line 39 of file testMapper.py.
|
inherited |
Definition at line 336 of file cameraMapper.py.
|
static |
Definition at line 37 of file testMapper.py.
|
staticinherited |
Definition at line 182 of file cameraMapper.py.
|
inherited |
Definition at line 247 of file cameraMapper.py.
|
inherited |
Definition at line 198 of file cameraMapper.py.
|
inherited |
Definition at line 224 of file cameraMapper.py.
|
staticinherited |
Definition at line 185 of file cameraMapper.py.