fixedvalue

class baseband.vlbi_base.header.fixedvalue(fget, doc=None, lazy=False)[source] [edit on github]

Bases: astropy.utils.decorators.classproperty

Property 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 a ValueError.

Attributes Summary

fdel

fget

fset

Methods Summary

deleter(self, fdel)

Descriptor to change the deleter on a property.

getter(self, fget)

Descriptor to change the getter on a property.

setter(self, fset)

Descriptor to change the setter on a property.

Attributes Documentation

fdel
fget
fset

Methods Documentation

deleter(self, fdel) [edit on github]

Descriptor to change the deleter on a property.

getter(self, fget) [edit on github]

Descriptor to change the getter on a property.

setter(self, fset) [edit on github]

Descriptor to change the setter on a property.