ArrayOfIndex
- class pyarts.arts.ArrayOfIndex(*args, **kwargs)
A list of
Index
Workspace methods that can generate ArrayOfIndex
Overview
Method
Append arg to the end of the list.
Method
Remove all items from list.
Method
Wrapper for
numpy.ndarray.conj
using ARTS types.Method
Wrapper for
numpy.ndarray.conjugate
using ARTS types.Method
Wrapper for
numpy.ndarray.copy
using ARTS types.Method
Return number of occurrences of arg.
Method
Wrapper for
numpy.ndarray.cumprod
using ARTS types.Method
Wrapper for
numpy.ndarray.cumsum
using ARTS types.Method
Wrapper for
numpy.ndarray.diagonal
using ARTS types.Method
Extend self by appending elements from arg.
Method
Wrapper for
numpy.ndarray.fill
using ARTS types.Method
Wrapper for
numpy.ndarray.flatten
using ARTS types.Method
Return first occurence of value between start and end - defaults to full range
Method
Insert object arg1 before index arg0.
Method
Wrapper for
numpy.ndarray.max
using ARTS types.Method
Wrapper for
numpy.ndarray.mean
using ARTS types.Method
Wrapper for
numpy.ndarray.min
using ARTS types.Method
Wrapper for
numpy.ndarray.nonzero
using ARTS types.Method
Remove and return item at index (default last).
Method
Wrapper for
numpy.ndarray.prod
using ARTS types.Method
Wrapper for
numpy.ndarray.ravel
using ARTS types.Method
Read variable from file
Method
Remove first occurrence of arg.
Method
Wrapper for
numpy.ndarray.repeat
using ARTS types.Method
Wrapper for
numpy.ndarray.reshape
using ARTS types.Method
Wrapper for
numpy.ndarray.round
using ARTS types.Method
Saves variable to file
Method
Wrapper for
numpy.ndarray.squeeze
using ARTS types.Method
Wrapper for
numpy.ndarray.std
using ARTS types.Method
Wrapper for
numpy.ndarray.sum
using ARTS types.Method
Wrapper for
numpy.ndarray.tolist
using ARTS types.Method
Wrapper for
numpy.ndarray.trace
using ARTS types.Method
Wrapper for
numpy.ndarray.transpose
using ARTS types.Method
Wrapper for
numpy.ndarray.var
using ARTS types.Static Method
Create variable from file
Attribute
Wrapper for
numpy.ndarray.T
using ARTS types.Attribute
Wrapper for
numpy.ndarray.dtype
using ARTS types.Attribute
Wrapper for
numpy.ndarray.imag
using ARTS types.Attribute
Wrapper for
numpy.ndarray.itemsize
using ARTS types.Attribute
Wrapper for
numpy.ndarray.nbytes
using ARTS types.Attribute
Wrapper for
numpy.ndarray.ndim
using ARTS types.Attribute
Wrapper for
numpy.ndarray.real
using ARTS types.Attribute
Wrapper for
numpy.ndarray.shape
using ARTS types.Attribute
Wrapper for
numpy.ndarray.size
using ARTS types.Attribute
Wrapper for
numpy.ndarray.strides
using ARTS types.Attribute
A
ndarray
of the object.Operator
Allows abs(self)
Operator
Allows self + value
Operator
Allows self and value
Operator
__array__(self, dtype: object | None = None, copy: object | None = None) -> object
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Allows divmod(self, value)
Operator
Overloaded function.
Operator
Allows self // value
Operator
Allows self >= value
Operator
Overloaded function.
Operator
Allows self > value
Operator
Return hash(self).
Operator
Allows self += value
Operator
Allows self &= value
Operator
Allows self //= value
Operator
Allows self @= value
Operator
Allows self %= value
Operator
Allows self *= value
Operator
Allows self |= value
Operator
Allows self **= value
Operator
Allows self -= value
Operator
Allows iter(self)
Operator
Allows self /= value
Operator
Allows self <= value
Operator
Overloaded function.
Operator
Allows self < value
Operator
Allows self @ value
Operator
Allows self % value
Operator
Allows self * value
Operator
Overloaded function.
Operator
Allows self | value
Operator
Allows self ** value
Operator
Allows value + self
Operator
Allows value & self
Operator
Allows value / self
Operator
Allows value // self
Operator
Allows value @ self
Operator
Allows value % self
Operator
Allows value * self
Operator
Allows value | self
Operator
Allows value ** self
Operator
Allows value - self
Operator
Allows value / self
Operator
Overloaded function.
Operator
Allows self / value
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfIndex) None
- __init__(self, arg: collections.abc.Iterable[pyarts.arts.Index], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfIndex) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.ArrayOfIndex) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts.arts.Index], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts.arts.ArrayOfIndex) -> None
Methods
- conj(self) object
Wrapper for
numpy.ndarray.conj
using ARTS types.Use the original for greater control and more functionality.
- conjugate(self) object
Wrapper for
numpy.ndarray.conjugate
using ARTS types.Use the original for greater control and more functionality.
- copy(self, order: str = 'C') object
Wrapper for
numpy.ndarray.copy
using ARTS types.Use the original for greater control and more functionality.
- cumprod(self, axis: object | None = None, dtype: object | None = None, out: object | None = None) object
Wrapper for
numpy.ndarray.cumprod
using ARTS types.Use the original for greater control and more functionality.
- cumsum(self, axis: object | None = None, dtype: object | None = None, out: object | None = None) object
Wrapper for
numpy.ndarray.cumsum
using ARTS types.Use the original for greater control and more functionality.
- diagonal(self, offset: object = 0, axis1: object = 0, axis2: object = 1) object
Wrapper for
numpy.ndarray.diagonal
using ARTS types.Use the original for greater control and more functionality.
- extend(self, arg: pyarts.arts.ArrayOfIndex, /) None
Extend self by appending elements from arg.
- fill(self, value: object) object
Wrapper for
numpy.ndarray.fill
using ARTS types.Use the original for greater control and more functionality.
- flatten(self, order: str = 'C') object
Wrapper for
numpy.ndarray.flatten
using ARTS types.Use the original for greater control and more functionality.
- index(self, value: int, start: int = 0, end: int = 18446744073709551615) int
Return first occurence of value between start and end - defaults to full range
- max(self, axis: object | None = None, out: object | None = None, keepdims: object = False) object
Wrapper for
numpy.ndarray.max
using ARTS types.Use the original for greater control and more functionality.
- mean(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
Wrapper for
numpy.ndarray.mean
using ARTS types.Use the original for greater control and more functionality.
- min(self, axis: object | None = None, out: object | None = None, keepdims: object = False) object
Wrapper for
numpy.ndarray.min
using ARTS types.Use the original for greater control and more functionality.
- nonzero(self) object
Wrapper for
numpy.ndarray.nonzero
using ARTS types.Use the original for greater control and more functionality.
- prod(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
Wrapper for
numpy.ndarray.prod
using ARTS types.Use the original for greater control and more functionality.
- ravel(self, order: list) object
Wrapper for
numpy.ndarray.ravel
using ARTS types.Use the original for greater control and more functionality.
- 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
- repeat(self, repeats: object, axis: object | None = None) object
Wrapper for
numpy.ndarray.repeat
using ARTS types.Use the original for greater control and more functionality.
- reshape(self, shape: object, order: object = 'C') object
Wrapper for
numpy.ndarray.reshape
using ARTS types.Use the original for greater control and more functionality.
- round(self, decimals: object = 0, out: object | None = None) object
Wrapper for
numpy.ndarray.round
using ARTS types.Use the original for greater control and more functionality.
- 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
- squeeze(self, axis: object | None = None) object
Wrapper for
numpy.ndarray.squeeze
using ARTS types.Use the original for greater control and more functionality.
- std(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, ddof: object = 0, keepdims: object = False) object
Wrapper for
numpy.ndarray.std
using ARTS types.Use the original for greater control and more functionality.
- sum(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
Wrapper for
numpy.ndarray.sum
using ARTS types.Use the original for greater control and more functionality.
- tolist(self) object
Wrapper for
numpy.ndarray.tolist
using ARTS types.Use the original for greater control and more functionality.
- trace(self, offset: object = 0, axis1: object = 0, axis2: object = 1, dtype: object | None = None, out: object | None = None) object
Wrapper for
numpy.ndarray.trace
using ARTS types.Use the original for greater control and more functionality.
- transpose(self, axes: list | None = None) object
Wrapper for
numpy.ndarray.transpose
using ARTS types.Use the original for greater control and more functionality.
- var(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, ddof: object = 0, keepdims: object = False) object
Wrapper for
numpy.ndarray.var
using ARTS types.Use the original for greater control and more functionality.
Static Methods
- fromxml(file: str) pyarts.arts.ArrayOfIndex
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- T
Wrapper for
numpy.ndarray.T
using ARTS types.Use the original for greater control and more functionality.
- dtype
Wrapper for
numpy.ndarray.dtype
using ARTS types.Use the original for greater control and more functionality.
- imag
Wrapper for
numpy.ndarray.imag
using ARTS types.Use the original for greater control and more functionality.
- itemsize
Wrapper for
numpy.ndarray.itemsize
using ARTS types.Use the original for greater control and more functionality.
- nbytes
Wrapper for
numpy.ndarray.nbytes
using ARTS types.Use the original for greater control and more functionality.
- ndim
Wrapper for
numpy.ndarray.ndim
using ARTS types.Use the original for greater control and more functionality.
- real
Wrapper for
numpy.ndarray.real
using ARTS types.Use the original for greater control and more functionality.
- shape
Wrapper for
numpy.ndarray.shape
using ARTS types.Use the original for greater control and more functionality.
- size
Wrapper for
numpy.ndarray.size
using ARTS types.Use the original for greater control and more functionality.
- strides
Wrapper for
numpy.ndarray.strides
using ARTS types.Use the original for greater control and more functionality.
Operators
- __contains__(self, key: object) object
- __contains__(self, arg: int, /) bool
- __contains__(self, arg: object, /) bool
Overloaded function.
__contains__(self, key: object) -> object
Allows key in self
__contains__(self, arg: int, /) -> bool
Return true if arg is in the list.
__contains__(self, arg: object, /) -> bool
Return false.
- __delitem__(self, i: int) None
- __delitem__(self, slice: slice) None
Overloaded function.
__delitem__(self, i: int) -> None
Remove the i-th item from the list.
__delitem__(self, slice: slice) -> None
Remove a slice of the list.
- __eq__(self, value: object) object
- __eq__(self, arg: pyarts.arts.ArrayOfIndex, /) bool
Overloaded function.
__eq__(self, value: object) -> object
Allows self == value
__eq__(self, arg: pyarts.arts.ArrayOfIndex, /) -> bool
self == other
- __getitem__(self, key: object) object
- __getitem__(self, i: int) int
- __getitem__(self, slice: slice) pyarts.arts.ArrayOfIndex
Overloaded function.
__getitem__(self, key: object) -> object
Allows self[key]
__getitem__(self, i: int) -> int
Return the i-th item.
__getitem__(self, slice: slice) -> pyarts.arts.ArrayOfIndex
Return a slice of the list.
- __hash__()
Return hash(self).
- __iter__(self) object
- __iter__(self) collections.abc.Iterator[int]
Allows iter(self)
- __len__(self) object
- __len__(self) int
Overloaded function.
__len__(self) -> object
Allows len(self)
__len__(self) -> int
Return the number of items in the list.
- __ne__(self, value: object) object
- __ne__(self, arg: pyarts.arts.ArrayOfIndex, /) bool
Overloaded function.
__ne__(self, value: object) -> object
Allows self != value
__ne__(self, arg: pyarts.arts.ArrayOfIndex, /) -> bool
self != other
- __setitem__(self, key: object, value: object) object
- __setitem__(self, i: int, value: int) None
- __setitem__(self, slice: slice, value: pyarts.arts.ArrayOfIndex) None
Overloaded function.
__setitem__(self, key: object, value: object) -> object
Allows self[key] = value
__setitem__(self, i: int, value: int) -> None
Set the i-th item to value.
__setitem__(self, slice: slice, value: pyarts.arts.ArrayOfIndex) -> None
Set a slice of the list.