ArrayOfAgenda
- class pyarts.arts.ArrayOfAgenda(*args, **kwargs)
A list of
Agenda
Overview
Method
Append arg to the end of the list.
Method
Remove all items from list.
Method
Extend self by appending elements from arg.
Method
Checks if the agenda works
Method
Insert object arg1 before index arg0.
Method
Remove and return item at index (default last).
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
String
Name of the array of agendaOperator
__delitem__(self, arg: slice, /) -> None
Operator
Return self==value.
Operator
Return self>=value.
Operator
__getitem__(self, arg: slice, /) -> pyarts.arts.ArrayOfAgenda
Operator
Return self>value.
Operator
Return hash(self).
Operator
__iter__(self) -> collections.abc.Iterator[pyarts.arts.Agenda]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfAgenda, /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfAgenda) None
- __init__(self, arg: collections.abc.Iterable[pyarts.arts.Agenda], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfAgenda) None
- __init__(self, arg: pyarts.arts.ArrayOfAgenda) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.ArrayOfAgenda) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts.arts.Agenda], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts.arts.ArrayOfAgenda) -> None
__init__(self, arg: pyarts.arts.ArrayOfAgenda) -> None
Create from
list
Methods
- append(self, arg: pyarts.arts.Agenda, /) None
Append arg to the end of the list.
- extend(self, arg: pyarts.arts.ArrayOfAgenda, /) None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: pyarts.arts.Agenda, /) None
Insert object arg1 before index arg0.
- pop(self, index: int = -1) pyarts.arts.Agenda
Remove and return item at index (default last).
- 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.ArrayOfAgenda
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: int, /) pyarts.arts.Agenda
- __getitem__(self, arg: slice, /) pyarts.arts.ArrayOfAgenda
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __iter__(self) collections.abc.Iterator[pyarts.arts.Agenda]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setitem__(self, arg0: int, arg1: pyarts.arts.Agenda, /) None
- __setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfAgenda, /) None