|
lsst.pex.config
17.0.1
|
Functions | |
| def | makePropertySet (config) |
| def | makePolicy (config) |
| def lsst.pex.config.convert.makePolicy | ( | config | ) |
Convert a configuration into a `lsst.pex.policy.Policy`.
Parameters
----------
config : `lsst.pex.config.Config`
Configuration instance.
Returns
-------
policy : `lsst.pex.policy.Policy`
A `~lsst.pex.policy.Policy` that is equivalent to the ``config``
instance. If ``config`` is `None` then return value is also `None`.
See also
--------
makePropertySet
lsst.pex.policy.Policy
Definition at line 65 of file convert.py.
| def lsst.pex.config.convert.makePropertySet | ( | config | ) |
Convert a configuration into a `lsst.daf.base.PropertySet`.
Parameters
----------
config : `lsst.pex.config.Config`
Configuration instance.
Returns
-------
propertySet : `lsst.daf.base.PropertySet`
A `~lsst.daf.base.PropertySet` that is equivalent to the ``config``
instance. If ``config`` is `None` then this return value is also
`None`.
See also
--------
makePolicy
lsst.daf.base.PropertySet
Definition at line 29 of file convert.py.
1.8.13