CallbackOperator
- class pyarts.arts.CallbackOperator(*args, **kwargs)
Used to inject custom code into
Agenda
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Operator
__call__(self, arg: pyarts.arts.CxxWorkspace, /) -> None
Operator
Return self==value.
Operator
Return self>=value.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.CallbackOperator) None
- __init__(self, f: collections.abc.Callable[[pyarts.arts.CxxWorkspace], None], inputs: pyarts.arts.ArrayOfString = [], outputs: pyarts.arts.ArrayOfString = []) None
Overloaded function.
__init__(self) -> None
__init__(self, arg: pyarts.arts.CallbackOperator) -> None
__init__(self, f: collections.abc.Callable[[pyarts.arts.CxxWorkspace], None], inputs: pyarts.arts.ArrayOfString = [], outputs: pyarts.arts.ArrayOfString = []) -> None
Initialize as structured call
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.CallbackOperator
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __call__(self, arg: pyarts.arts.CxxWorkspace, /) None
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.