Index
- class pyarts3.arts.Index(*args, **kwargs)
A 64 bit signed integer type
Workspace methods that require Index
Workspace variables of type Index
Overview
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Method
Read variable from file.
Method
Method
Method
Method
Saves variable to file.
Method
Method
Method
Method
Method
Method
Method
Static Method
Create variable from file.
See
numpy.ndarray.T
.See
numpy.ndarray.dtype
.See
numpy.ndarray.imag
.See
numpy.ndarray.nbytes
.See
numpy.ndarray.ndim
.See
numpy.ndarray.real
.See
numpy.ndarray.shape
.See
numpy.ndarray.size
.A
ndarray
of the object.Operator
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Returns a
ndarray
of the object.Operator
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
__format__(self, arg: str, /) -> str
Operator
Overloaded function.
Operator
Operator
__getstate__(self) -> tuple[int]
Operator
Overloaded function.
Operator
Allows hashing
Operator
Operator
Operator
Operator
See
numpy.ndarray.__imatmul__
Operator
Operator
Operator
__init__(self, arg: pyarts3.arts.Index) -> None
Operator
Operator
Operator
Operator
See
numpy.ndarray.__iter__
Operator
Operator
Overloaded function.
Operator
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
__repr__(self) -> str
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Overloaded function.
Operator
Operator
__setstate__(self, arg: tuple[int], /) -> None
Operator
__str__(self) -> str
Operator
Overloaded function.
Constructors
- __init__(self) None
- __init__(self, arg: int, /) None
- __init__(self, arg: pyarts3.arts.Index) None
Methods
- cumprod(self, axis: object | None = None, dtype: object | None = None, out: object | None = None) object
- cumsum(self, axis: object | None = None, dtype: object | None = None, out: object | None = None) object
- mean(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
- prod(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
- readxml(self, file: str) str
Read variable from file.
- Parameters:
file (str) – A file that can be read.
- Raises:
RuntimeError – For any failure to read.
- Returns:
file – The file path found (may differ from input due to environment variables).
- Return type:
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) str
Saves variable to file.
- Parameters:
file (str) – The path to which the file is written. Note that several of the options might modify the name or write more files.
type (str, optional) – Type of file to save. See
FileType
for options. Defaults is “ascii”.clobber (bool, optional) – Overwrite existing files or add new file with modified name? Defaults is True.
- Raises:
RuntimeError – For any failure to write.
- Returns:
file – The file saved. May differ from input.
- Return type:
- std(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, ddof: object = 0, keepdims: object = False) object
- sum(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, keepdims: object = False) object
- trace(self, offset: object = 0, axis1: object = 0, axis2: object = 1, dtype: object | None = None, out: object | None = None) object
- var(self, axis: object | None = None, dtype: object | None = None, out: object | None = None, ddof: object = 0, keepdims: object = False) object
Static Methods
- fromxml(file: str) pyarts3.arts.Index
Create variable from file.
- Parameters:
file (str) – A file that can be read
- Raises:
RuntimeError – For any failure to read.
- Returns:
artstype – The variable created from the file.
- Return type:
T
Attributes
- T: object
See
numpy.ndarray.T
.
- dtype: object
See
numpy.ndarray.dtype
.
- imag: object
See
numpy.ndarray.imag
.
- nbytes: object
See
numpy.ndarray.nbytes
.
- ndim: object
See
numpy.ndarray.ndim
.
- real: object
See
numpy.ndarray.real
.
- shape: object
See
numpy.ndarray.shape
.
- size: object
See
numpy.ndarray.size
.
- value: numpy.ndarray
A
ndarray
of the object.
Operators
- __add__(self, arg: pyarts3.arts.Index, /) object
- __add__(self, arg: object, /) object
- __add__(self, value: object) object
Overloaded function.
__add__(self, arg: pyarts3.arts.Index, /) -> object
__add__(self, arg: object, /) -> object
__add__(self, value: object) -> object
- __and__(self, arg: pyarts3.arts.Index, /) object
- __and__(self, arg: object, /) object
- __and__(self, value: object) object
Overloaded function.
__and__(self, arg: pyarts3.arts.Index, /) -> object
__and__(self, arg: object, /) -> object
__and__(self, value: object) -> object
- __array__(self, dtype: object | None = None, copy: object | None = None) numpy.ndarray[dtype=int64, shape=(), order='C'] | object
Returns a
ndarray
of the object.
- __divmod__(self, arg: pyarts3.arts.Index, /) object
- __divmod__(self, arg: object, /) object
- __divmod__(self, value: object) object
Overloaded function.
__divmod__(self, arg: pyarts3.arts.Index, /) -> object
__divmod__(self, arg: object, /) -> object
__divmod__(self, value: object) -> object
- __eq__(self, arg: pyarts3.arts.Index, /) object
- __eq__(self, arg: object, /) object
- __eq__(self, value: object) object
Overloaded function.
__eq__(self, arg: pyarts3.arts.Index, /) -> object
__eq__(self, arg: object, /) -> object
__eq__(self, value: object) -> object
- __floordiv__(self, arg: pyarts3.arts.Index, /) object
- __floordiv__(self, arg: object, /) object
- __floordiv__(self, value: object) object
Overloaded function.
__floordiv__(self, arg: pyarts3.arts.Index, /) -> object
__floordiv__(self, arg: object, /) -> object
__floordiv__(self, value: object) -> object
- __ge__(self, arg: pyarts3.arts.Index, /) object
- __ge__(self, arg: object, /) object
- __ge__(self, value: object) object
Overloaded function.
__ge__(self, arg: pyarts3.arts.Index, /) -> object
__ge__(self, arg: object, /) -> object
__ge__(self, value: object) -> object
- __gt__(self, arg: pyarts3.arts.Index, /) object
- __gt__(self, arg: object, /) object
- __gt__(self, value: object) object
Overloaded function.
__gt__(self, arg: pyarts3.arts.Index, /) -> object
__gt__(self, arg: object, /) -> object
__gt__(self, value: object) -> object
- __le__(self, arg: pyarts3.arts.Index, /) object
- __le__(self, arg: object, /) object
- __le__(self, value: object) object
Overloaded function.
__le__(self, arg: pyarts3.arts.Index, /) -> object
__le__(self, arg: object, /) -> object
__le__(self, value: object) -> object
- __lt__(self, arg: pyarts3.arts.Index, /) object
- __lt__(self, arg: object, /) object
- __lt__(self, value: object) object
Overloaded function.
__lt__(self, arg: pyarts3.arts.Index, /) -> object
__lt__(self, arg: object, /) -> object
__lt__(self, value: object) -> object
- __matmul__(self, arg: pyarts3.arts.Index, /) object
- __matmul__(self, arg: object, /) object
- __matmul__(self, value: object) object
Overloaded function.
__matmul__(self, arg: pyarts3.arts.Index, /) -> object
__matmul__(self, arg: object, /) -> object
__matmul__(self, value: object) -> object
- __mod__(self, arg: pyarts3.arts.Index, /) object
- __mod__(self, arg: object, /) object
- __mod__(self, value: object) object
Overloaded function.
__mod__(self, arg: pyarts3.arts.Index, /) -> object
__mod__(self, arg: object, /) -> object
__mod__(self, value: object) -> object
- __mul__(self, arg: pyarts3.arts.Index, /) object
- __mul__(self, arg: object, /) object
- __mul__(self, value: object) object
Overloaded function.
__mul__(self, arg: pyarts3.arts.Index, /) -> object
__mul__(self, arg: object, /) -> object
__mul__(self, value: object) -> object
- __ne__(self, arg: pyarts3.arts.Index, /) object
- __ne__(self, arg: object, /) object
- __ne__(self, value: object) object
Overloaded function.
__ne__(self, arg: pyarts3.arts.Index, /) -> object
__ne__(self, arg: object, /) -> object
__ne__(self, value: object) -> object
- __or__(self, arg: pyarts3.arts.Index, /) object
- __or__(self, arg: object, /) object
- __or__(self, value: object) object
Overloaded function.
__or__(self, arg: pyarts3.arts.Index, /) -> object
__or__(self, arg: object, /) -> object
__or__(self, value: object) -> object
- __pow__(self, arg: pyarts3.arts.Index, /) object
- __pow__(self, arg: object, /) object
- __pow__(self, value: object, mod: object | None = None) object
Overloaded function.
__pow__(self, arg: pyarts3.arts.Index, /) -> object
__pow__(self, arg: object, /) -> object
__pow__(self, value: object, mod: object | None = None) -> object
- __radd__(self, arg: pyarts3.arts.Index, /) object
- __radd__(self, arg: object, /) object
- __radd__(self, value: object) object
Overloaded function.
__radd__(self, arg: pyarts3.arts.Index, /) -> object
__radd__(self, arg: object, /) -> object
__radd__(self, value: object) -> object
See
numpy.ndarray.__radd__
- __rand__(self, arg: pyarts3.arts.Index, /) object
- __rand__(self, arg: object, /) object
- __rand__(self, value: object) object
Overloaded function.
__rand__(self, arg: pyarts3.arts.Index, /) -> object
__rand__(self, arg: object, /) -> object
__rand__(self, value: object) -> object
See
numpy.ndarray.__rand__
- __rdivmod__(self, arg: pyarts3.arts.Index, /) object
- __rdivmod__(self, arg: object, /) object
- __rdivmod__(self, value: object) object
Overloaded function.
__rdivmod__(self, arg: pyarts3.arts.Index, /) -> object
__rdivmod__(self, arg: object, /) -> object
__rdivmod__(self, value: object) -> object
See
numpy.ndarray.__rdivmod__
- __rfloordiv__(self, arg: pyarts3.arts.Index, /) object
- __rfloordiv__(self, arg: object, /) object
- __rfloordiv__(self, value: object) object
Overloaded function.
__rfloordiv__(self, arg: pyarts3.arts.Index, /) -> object
__rfloordiv__(self, arg: object, /) -> object
__rfloordiv__(self, value: object) -> object
See
numpy.ndarray.__rfloordiv__
- __rmatmul__(self, arg: pyarts3.arts.Index, /) object
- __rmatmul__(self, arg: object, /) object
- __rmatmul__(self, value: object) object
Overloaded function.
__rmatmul__(self, arg: pyarts3.arts.Index, /) -> object
__rmatmul__(self, arg: object, /) -> object
__rmatmul__(self, value: object) -> object
See
numpy.ndarray.__rmatmul__
- __rmod__(self, arg: pyarts3.arts.Index, /) object
- __rmod__(self, arg: object, /) object
- __rmod__(self, value: object) object
Overloaded function.
__rmod__(self, arg: pyarts3.arts.Index, /) -> object
__rmod__(self, arg: object, /) -> object
__rmod__(self, value: object) -> object
See
numpy.ndarray.__rmod__
- __rmul__(self, arg: pyarts3.arts.Index, /) object
- __rmul__(self, arg: object, /) object
- __rmul__(self, value: object) object
Overloaded function.
__rmul__(self, arg: pyarts3.arts.Index, /) -> object
__rmul__(self, arg: object, /) -> object
__rmul__(self, value: object) -> object
See
numpy.ndarray.__rmul__
- __ror__(self, arg: pyarts3.arts.Index, /) object
- __ror__(self, arg: object, /) object
- __ror__(self, value: object) object
Overloaded function.
__ror__(self, arg: pyarts3.arts.Index, /) -> object
__ror__(self, arg: object, /) -> object
__ror__(self, value: object) -> object
See
numpy.ndarray.__ror__
- __rpow__(self, arg: pyarts3.arts.Index, /) object
- __rpow__(self, arg: object, /) object
- __rpow__(self, value: object, mod: object | None = None) object
Overloaded function.
__rpow__(self, arg: pyarts3.arts.Index, /) -> object
__rpow__(self, arg: object, /) -> object
__rpow__(self, value: object, mod: object | None = None) -> object
See
numpy.ndarray.__rpow__
- __rsub__(self, arg: pyarts3.arts.Index, /) object
- __rsub__(self, arg: object, /) object
- __rsub__(self, value: object) object
Overloaded function.
__rsub__(self, arg: pyarts3.arts.Index, /) -> object
__rsub__(self, arg: object, /) -> object
__rsub__(self, value: object) -> object
See
numpy.ndarray.__rsub__
- __rtruediv__(self, arg: pyarts3.arts.Index, /) object
- __rtruediv__(self, arg: object, /) object
- __rtruediv__(self, value: object) object
Overloaded function.
__rtruediv__(self, arg: pyarts3.arts.Index, /) -> object
__rtruediv__(self, arg: object, /) -> object
__rtruediv__(self, value: object) -> object
See
numpy.ndarray.__rtruediv__