LSSTApplications
17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
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 | getPackageDir (cls) |
def | map_camera (self, dataId, write=False) |
def | bypass_camera (self, datasetType, pythonType, butlerLocation, dataId) |
def | map_defects (self, dataId, write=False) |
def | bypass_defects (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) |
Static Public Attributes | |
string | packageName = 'obs_test' |
MakeRawVisitInfoClass = MakeTestRawVisitInfo | |
PupilFactoryClass = afwCameraGeom.PupilFactory | |
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 85 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.
Definition at line 566 of file cameraMapper.py.
|
inherited |
Return the (preloaded) camera object.
Definition at line 697 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 |
Return a defect based on the butler location returned by map_defects Parameters ---------- butlerLocation : `lsst.daf.persistence.ButlerLocation` locationList = path to defects FITS file dataId : `dict` Butler data ID; "ccd" must be set. Note: the name "bypass_XXX" means the butler makes no attempt to convert the ButlerLocation into an object, which is what we want for now, since that conversion is a bit tricky.
Definition at line 721 of file cameraMapper.py.
|
inherited |
Hook to retrieve an lsst.obs.base.ExposureIdInfo for an exposure
Definition at line 765 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 660 of file cameraMapper.py.
|
inherited |
|
inherited |
Definition at line 651 of file cameraMapper.py.
|
inherited |
Definition at line 654 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 1212 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 617 of file cameraMapper.py.
|
inherited |
Return the base directory of this package
Definition at line 678 of file cameraMapper.py.
|
inherited |
Return the name of the package containing this CameraMapper.
Definition at line 671 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.
Definition at line 1202 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 965 of file cameraMapper.py.
|
inherited |
Return supported keys. Returns ------- iterable List of keys usable in a dataset identifier
Definition at line 607 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 138 of file mapper.py.
|
inherited |
|
inherited |
Map defects dataset. Returns ------- `lsst.daf.butler.ButlerLocation` Minimal ButlerLocation containing just the locationList field (just enough information that bypass_defects can use it).
Definition at line 704 of file cameraMapper.py.
|
inherited |
Definition at line 754 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 771 of file cameraMapper.py.
|
inherited |
Standardize a raw dataset by converting it to an Exposure instead of an Image
Definition at line 781 of file cameraMapper.py.
|
inherited |
Standardize a sky policy by returning the one we use.
Definition at line 793 of file cameraMapper.py.
def lsst.obs.test.testMapper.TestMapper.validate | ( | self, | |
dataId | |||
) |
Definition at line 107 of file testMapper.py.
|
inherited |
Definition at line 251 of file cameraMapper.py.
|
inherited |
Definition at line 270 of file cameraMapper.py.
|
inherited |
Definition at line 269 of file cameraMapper.py.
|
inherited |
Definition at line 210 of file cameraMapper.py.
|
inherited |
Definition at line 211 of file cameraMapper.py.
|
inherited |
Definition at line 276 of file cameraMapper.py.
|
inherited |
Definition at line 274 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 281 of file cameraMapper.py.
|
inherited |
Definition at line 263 of file cameraMapper.py.
|
inherited |
Definition at line 205 of file cameraMapper.py.
|
inherited |
Definition at line 191 of file cameraMapper.py.
|
inherited |
Definition at line 288 of file cameraMapper.py.
|
static |
Definition at line 39 of file testMapper.py.
|
inherited |
Definition at line 333 of file cameraMapper.py.
|
static |
Definition at line 37 of file testMapper.py.
|
staticinherited |
Definition at line 157 of file cameraMapper.py.
|
inherited |
Definition at line 243 of file cameraMapper.py.
|
inherited |
Definition at line 194 of file cameraMapper.py.
|
inherited |
Definition at line 220 of file cameraMapper.py.