Vector3

class pyarts.arts.Vector3(*args, **kwargs)

A fixed-size 3D version of Vector.

Workspace methods that require Vector3

Workspace variables of type Vector3

Overview

Method

conj()

Wrapper for numpy.ndarray.conj using ARTS types.

Method

conjugate()

Wrapper for numpy.ndarray.conjugate using ARTS types.

Method

copy()

Wrapper for numpy.ndarray.copy using ARTS types.

Method

cumprod()

Wrapper for numpy.ndarray.cumprod using ARTS types.

Method

cumsum()

Wrapper for numpy.ndarray.cumsum using ARTS types.

Method

diagonal()

Wrapper for numpy.ndarray.diagonal using ARTS types.

Method

fill()

Wrapper for numpy.ndarray.fill using ARTS types.

Method

flatten()

Wrapper for numpy.ndarray.flatten using ARTS types.

Method

max()

Wrapper for numpy.ndarray.max using ARTS types.

Method

mean()

Wrapper for numpy.ndarray.mean using ARTS types.

Method

min()

Wrapper for numpy.ndarray.min using ARTS types.

Method

nonzero()

Wrapper for numpy.ndarray.nonzero using ARTS types.

Method

prod()

Wrapper for numpy.ndarray.prod using ARTS types.

Method

ravel()

Wrapper for numpy.ndarray.ravel using ARTS types.

Method

readxml()

Read variable from file

Method

repeat()

Wrapper for numpy.ndarray.repeat using ARTS types.

Method

reshape()

Wrapper for numpy.ndarray.reshape using ARTS types.

Method

round()

Wrapper for numpy.ndarray.round using ARTS types.

Method

savexml()

Saves variable to file

Method

squeeze()

Wrapper for numpy.ndarray.squeeze using ARTS types.

Method

std()

Wrapper for numpy.ndarray.std using ARTS types.

Method

sum()

Wrapper for numpy.ndarray.sum using ARTS types.

Method

tolist()

Wrapper for numpy.ndarray.tolist using ARTS types.

Method

trace()

Wrapper for numpy.ndarray.trace using ARTS types.

Method

transpose()

Wrapper for numpy.ndarray.transpose using ARTS types.

Method

var()

Wrapper for numpy.ndarray.var using ARTS types.

Static Method

fromxml()

Create variable from file

Attribute

T

Wrapper for numpy.ndarray.T using ARTS types.

Attribute

data

The data itself

Attribute

dtype

Wrapper for numpy.ndarray.dtype using ARTS types.

Attribute

imag

Wrapper for numpy.ndarray.imag using ARTS types.

Attribute

itemsize

Wrapper for numpy.ndarray.itemsize using ARTS types.

Attribute

nbytes

Wrapper for numpy.ndarray.nbytes using ARTS types.

Attribute

ndim

Wrapper for numpy.ndarray.ndim using ARTS types.

Attribute

real

Wrapper for numpy.ndarray.real using ARTS types.

Attribute

shape

Wrapper for numpy.ndarray.shape using ARTS types.

Attribute

size

Wrapper for numpy.ndarray.size using ARTS types.

Attribute

strides

Wrapper for numpy.ndarray.strides using ARTS types.

Attribute

value

A ndarray of the object.

Operator

__abs__()

Allows abs(self)

Operator

__add__()

Allows self + value

Operator

__and__()

Allows self and value

Operator

__array__()

Allows np.array to be called on the object.

Operator

__contains__()

Allows key in self

Operator

__divmod__()

Allows divmod(self, value)

Operator

__eq__()

Allows self == value

Operator

__floordiv__()

Allows self // value

Operator

__ge__()

Allows self >= value

Operator

__getitem__()

Allows self[key]

Operator

__gt__()

Allows self > value

Operator

__hash__()

Return hash(self).

Operator

__iadd__()

Allows self += value

Operator

__iand__()

Allows self &= value

Operator

__ifloordiv__()

Allows self //= value

Operator

__imatmul__()

Allows self @= value

Operator

__imod__()

Allows self %= value

Operator

__imul__()

Allows self *= value

Operator

__ior__()

Allows self |= value

Operator

__ipow__()

Allows self **= value

Operator

__isub__()

Allows self -= value

Operator

__iter__()

Allows iter(self)

Operator

__itruediv__()

Allows self /= value

Operator

__le__()

Allows self <= value

Operator

__len__()

Allows len(self)

Operator

__lt__()

Allows self < value

Operator

__matmul__()

Allows self @ value

Operator

__mod__()

Allows self % value

Operator

__mul__()

Allows self * value

Operator

__ne__()

Allows self != value

Operator

__or__()

Allows self | value

Operator

__pow__()

Allows self ** value

Operator

__radd__()

Allows value + self

Operator

__rand__()

Allows value & self

Operator

__rdivmod__()

Allows value / self

Operator

__rfloordiv__()

Allows value // self

Operator

__rmatmul__()

Allows value @ self

Operator

__rmod__()

Allows value % self

Operator

__rmul__()

Allows value * self

Operator

__ror__()

Allows value | self

Operator

__rpow__()

Allows value ** self

Operator

__rsub__()

Allows value - self

Operator

__rtruediv__()

Allows value / self

Operator

__setitem__()

Allows self[key] = value

Operator

__truediv__()

Allows self / value

Constructors

__init__(self, a: numpy.ndarray[dtype=float64, shape=(3), order='C']) None
__init__(self) None
__init__(self, l: list) None
__init__(self) None
__init__(self, arg: pyarts.arts.Vector3) 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.

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.

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:
  • 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) – Type of file to save (ascii. zascii, or binary)

  • clobber (bool) – Overwrite existing files or add new file with modified name?

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.Vector3

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.

data

The data itself

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.

value

A ndarray of the object.

Operators

__abs__(self) object

Allows abs(self)

__add__(self, value: object) object

Allows self + value

__and__(self, value: object) object

Allows self and value

__array__(self, dtype: object | None = None, copy: object | None = None) object

Allows np.array to be called on the object.

__contains__(self, key: object) object

Allows key in self

__divmod__(self, value: object) object

Allows divmod(self, value)

__eq__(self, value: object) object

Allows self == value

__floordiv__(self, value: object) object

Allows self // value

__ge__(self, value: object) object

Allows self >= value

__getitem__(self, key: object) object

Allows self[key]

__gt__(self, value: object) object

Allows self > value

__hash__()

Return hash(self).

__iadd__(self, value: object) object

Allows self += value

__iand__(self, value: object) object

Allows self &= value

__ifloordiv__(self, value: object) object

Allows self //= value

__imatmul__(self, value: object) object

Allows self @= value

__imod__(self, value: object) object

Allows self %= value

__imul__(self, value: object) object

Allows self *= value

__ior__(self, value: object) object

Allows self |= value

__ipow__(self, value: object) object

Allows self **= value

__isub__(self, value: object) object

Allows self -= value

__iter__(self) object

Allows iter(self)

__itruediv__(self, value: object) object

Allows self /= value

__le__(self, value: object) object

Allows self <= value

__len__(self) object

Allows len(self)

__lt__(self, value: object) object

Allows self < value

__matmul__(self, value: object) object

Allows self @ value

__mod__(self, value: object) object

Allows self % value

__mul__(self, value: object) object

Allows self * value

__ne__(self, value: object) object

Allows self != value

__or__(self, value: object) object

Allows self | value

__pow__(self, value: object, mod: object | None = None) object

Allows self ** value

__radd__(self, value: object) object

Allows value + self

__rand__(self, value: object) object

Allows value & self

__rdivmod__(self, value: object) object

Allows value / self

__rfloordiv__(self, value: object) object

Allows value // self

__rmatmul__(self, value: object) object

Allows value @ self

__rmod__(self, value: object) object

Allows value % self

__rmul__(self, value: object) object

Allows value * self

__ror__(self, value: object) object

Allows value | self

__rpow__(self, value: object, mod: object | None = None) object

Allows value ** self

__rsub__(self, value: object) object

Allows value - self

__rtruediv__(self, value: object) object

Allows value / self

__setitem__(self, key: object, value: object) object

Allows self[key] = value

__truediv__(self, value: object) object

Allows self / value