Stokvec
- class pyarts.arts.Stokvec(*args, **kwargs)
A single Stokes vector (of length 4).
Workspace methods that require Stokvec
Overview
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
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
Wrapper for
numpy.ndarray.fill
using ARTS types.Method
Wrapper for
numpy.ndarray.flatten
using ARTS types.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
Wrapper for
numpy.ndarray.prod
using ARTS types.Method
Wrapper for
numpy.ndarray.ravel
using ARTS types.Method
Read variable from file
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
Returns [1.0, 0.0, 0.0, sin(angle)], the circular polarization vector for a given phase delay angle
Static Method
Create variable from file
Static Method
Returns [1.0, cos(2*angle), sin(2*angle), 0.0], the linear polarization vector for a given angle
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
Returns a
ndarray
of the object.Operator
Allows key in self
Operator
Allows divmod(self, value)
Operator
Allows self == value
Operator
Allows self // value
Operator
Allows self >= value
Operator
Allows self[key]
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
Allows len(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 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
Allows self[key] = value
Operator
Allows self / value
Constructors
- __init__(self, arg: float, /) None
- __init__(self, arg: pyarts.arts.PolarizationChoice, /) None
- __init__(self, arg: str, /) None
- __init__(self, arg: collections.abc.Sequence[float], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.Stokvec) 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:
- 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
- cirpol(angle: float) pyarts.arts.Stokvec
Returns [1.0, 0.0, 0.0, sin(angle)], the circular polarization vector for a given phase delay angle
- fromxml(file: str) pyarts.arts.Stokvec
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- linpol(angle: float) pyarts.arts.Stokvec
Returns [1.0, cos(2*angle), sin(2*angle), 0.0], the linear polarization vector for a given angle
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
- __array__(self, dtype: object | None = None, copy: object | None = None) object
Returns a
ndarray
of the object.
- __hash__()
Return hash(self).