lsst.pex.config  7.0-hsc
Functions
lsst.pex.config.convert Namespace Reference

Functions

def makePropertySet (config)
 
def makePolicy (config)
 

Function Documentation

◆ makePolicy()

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.

◆ makePropertySet()

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.