Definition at line 5 of file wrapper.py.
Inherits collections.abc.MutableMapping.
Public Member Functions | |
def | __init__ (self, init=None) |
Wrapper to present a LALInferenceVariable as a dict. More... | |
def | __delitem__ (self, key) |
def | __setitem__ (self, key, value) |
def | __getitem__ (self, key) |
def | __iter__ (self) |
def | __len__ (self) |
def | __del__ (self) |
def | __repr__ (self) |
def | __str__ (self) |
def | varyType (self, key) |
Return the lalinference variable's varyType. More... | |
def | type (self, key) |
Return the lalinference variable's varyType. More... | |
Data Fields | |
owner | |
v | |
def lalinference.wrapper.LIVariablesWrap.__init__ | ( | self, | |
init = None |
|||
) |
Wrapper to present a LALInferenceVariable as a dict.
init : dict Initialise with the given dictionary. If init is itself a LALInferenceVariables C struct then the wrapper will wrap around it but not reallocate memory
Definition at line 16 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__del__ | ( | self | ) |
Definition at line 53 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__delitem__ | ( | self, | |
key | |||
) |
Definition at line 25 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__setitem__ | ( | self, | |
key, | |||
value | |||
) |
Definition at line 30 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__getitem__ | ( | self, | |
key | |||
) |
Definition at line 37 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__iter__ | ( | self | ) |
Definition at line 49 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__len__ | ( | self | ) |
Definition at line 51 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__repr__ | ( | self | ) |
Definition at line 56 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.__str__ | ( | self | ) |
Definition at line 58 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.varyType | ( | self, | |
key | |||
) |
Return the lalinference variable's varyType.
key : str The name of the variable to look up
varytype : lalinference.varyType (e.g. lalinference.LALINFERENCE_PARAM_FIXED)
Definition at line 72 of file wrapper.py.
def lalinference.wrapper.LIVariablesWrap.type | ( | self, | |
key | |||
) |
Return the lalinference variable's varyType.
key : str The name of the variable to look up
type : the LALInference type (e.g. lalinference.LALINFERENCE_REAL8_t)
Definition at line 88 of file wrapper.py.
lalinference.wrapper.LIVariablesWrap.owner |
Definition at line 17 of file wrapper.py.
lalinference.wrapper.LIVariablesWrap.v |
Definition at line 19 of file wrapper.py.