fixedvalue¶
-
class
baseband.base.utils.fixedvalue(fget=None, doc=None, lazy=False)[source] [edit on github]¶ Bases:
astropy.utils.decorators.classpropertyProperty that is fixed for all instances of a class.
Based on
astropy.utils.decorators.classproperty, but with a setter that passes if the value is identical to the fixed value, and otherwise raises aValueError.Attributes Summary
Methods Summary
deleter(fdel)Descriptor to change the deleter on a property.
getter(fget)Descriptor to change the getter on a property.
setter(fset)Descriptor to change the setter on a property.
Attributes Documentation
-
fdel¶
-
fget¶
-
fset¶
Methods Documentation
-
deleter(fdel) [edit on github]¶ Descriptor to change the deleter on a property.
-
getter(fget) [edit on github]¶ Descriptor to change the getter on a property.
-
setter(fset) [edit on github]¶ Descriptor to change the setter on a property.
-