|
lsst.obs.base
18.1.0-21-gde80ed3+1
|
Public Member Functions | |
| def | __init__ (self, datasetType, policy, registry, root, kwargs) |
| def | template (self) |
| def | keys (self) |
| def | map (self, mapper, dataId, write=False) |
| def | lookup (self, properties, dataId) |
| def | have (self, properties, dataId) |
| def | need (self, properties, dataId) |
Public Attributes | |
| columns | |
| datasetType | |
| registry | |
| rootStorage | |
| keyDict | |
| python | |
| persistable | |
| storage | |
| level | |
| tables | |
| range | |
| obsTimeName | |
| recipe | |
ImageMapping is a Mapping subclass for non-camera images.
Parameters
----------
datasetType : `str`
Butler dataset type to be mapped.
policy : `daf_persistence.Policy`
Mapping Policy.
registry : `lsst.obs.base.Registry`
Registry for metadata lookups
root : `str`
Path of root directory
Definition at line 341 of file mapping.py.
| def lsst.obs.base.mapping.ImageMapping.__init__ | ( | self, | |
| datasetType, | |||
| policy, | |||
| registry, | |||
| root, | |||
| kwargs | |||
| ) |
Definition at line 356 of file mapping.py.
|
inherited |
Returns whether the provided data identifier has all
the properties in the provided list.
Parameters
----------
properties : `list of `str`
Properties required.
dataId : `dict`
Dataset identifier.
Returns
-------
bool
True if all properties are present.
Definition at line 270 of file mapping.py.
|
inherited |
Return the dict of keys and value types required for this mapping.
Definition at line 134 of file mapping.py.
|
inherited |
Look up properties for in a metadata registry given a partial
dataset identifier.
Parameters
----------
properties : `list` of `str`
What to look up.
dataId : `dict`
Dataset identifier
Returns
-------
`list` of `tuple`
Values of properties.
Definition at line 188 of file mapping.py.
|
inherited |
Standard implementation of map function.
Parameters
----------
mapper: `lsst.daf.persistence.Mapper`
Object to be mapped.
dataId: `dict`
Dataset identifier.
Returns
-------
lsst.daf.persistence.ButlerLocation
Location of object that was mapped.
Definition at line 138 of file mapping.py.
|
inherited |
Ensures all properties in the provided list are present in
the data identifier, looking them up as needed. This is only
possible for the case where the data identifies a single
exposure.
Parameters
----------
properties : `list` of `str`
Properties required.
dataId : `dict`
Partial dataset identifier
Returns
-------
`dict`
Copy of dataset identifier with enhanced values.
Definition at line 291 of file mapping.py.
|
inherited |
Definition at line 127 of file mapping.py.
| lsst.obs.base.mapping.ImageMapping.columns |
Definition at line 358 of file mapping.py.
|
inherited |
Definition at line 90 of file mapping.py.
|
inherited |
Definition at line 101 of file mapping.py.
|
inherited |
Definition at line 116 of file mapping.py.
|
inherited |
Definition at line 123 of file mapping.py.
|
inherited |
Definition at line 113 of file mapping.py.
|
inherited |
Definition at line 112 of file mapping.py.
|
inherited |
Definition at line 121 of file mapping.py.
|
inherited |
Definition at line 124 of file mapping.py.
|
inherited |
Definition at line 91 of file mapping.py.
|
inherited |
Definition at line 92 of file mapping.py.
|
inherited |
Definition at line 114 of file mapping.py.
|
inherited |
Definition at line 118 of file mapping.py.
1.8.13