lsst.pex.config
13.0-3-g520d906+6
|
Public Member Functions | |
def | __init__ (self, doc, dtype, default=None, optional=False, min=None, max=None, inclusiveMin=True, inclusiveMax=False) |
![]() | |
def | __init__ (self, doc, dtype, default=None, check=None, optional=False) |
def | rename (self, instance) |
def | validate (self, instance) |
def | freeze (self, instance) |
def | save (self, outfile, instance) |
def | toDict (self, instance) |
def | __get__ (self, instance, owner=None, at=None, label="default") |
def | __set__ (self, instance, value, at=None, label='assignment') |
def | __delete__ (self, instance, at=None, label='deletion') |
Public Attributes | |
min | |
max | |
rangeString | |
maxCheck | |
minCheck | |
![]() | |
dtype | |
doc | |
default | |
check | |
optional | |
source | |
Static Public Attributes | |
supportedTypes = set((int, float)) | |
![]() | |
supportedTypes = set((str, unicode, basestring, oldStringType, bool, float, int, complex)) | |
Defines a Config Field which allows only a range of values. The range is defined by providing min and/or max values. If min or max is None, the range will be open in that direction If inclusive[Min|Max] is True the range will include the [min|max] value
Definition at line 29 of file rangeField.py.
def lsst.pex.config.rangeField.RangeField.__init__ | ( | self, | |
doc, | |||
dtype, | |||
default = None , |
|||
optional = False , |
|||
min = None , |
|||
max = None , |
|||
inclusiveMin = True , |
|||
inclusiveMax = False |
|||
) |
Definition at line 41 of file rangeField.py.
lsst.pex.config.rangeField.RangeField.max |
Definition at line 55 of file rangeField.py.
lsst.pex.config.rangeField.RangeField.maxCheck |
Definition at line 64 of file rangeField.py.
lsst.pex.config.rangeField.RangeField.min |
Definition at line 54 of file rangeField.py.
lsst.pex.config.rangeField.RangeField.minCheck |
Definition at line 68 of file rangeField.py.
lsst.pex.config.rangeField.RangeField.rangeString |
Definition at line 57 of file rangeField.py.
|
static |
Definition at line 38 of file rangeField.py.