StokesVector

class pyarts.arts.StokesVector

A stokes vector

This type is related to PropagationMatrix

The data type is Tensor4 in units of [1/m]

The dimensionality is kept as:

Number of frequencies as Index (usually from f_grid) Number of zenith angles as Index Number of azimuth angles as Index The Stokes dimension as Index (usually from stokes_dim)

This is often used to compute the source emission with the help of a PropagationMatrix

Workspace methods that can generate StokesVector

Workspace methods that require StokesVector

Workspace variables of type StokesVector

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyarts.arts.StokesVector, nf: int = Index(0), ns: int = Index(1), nza: int = Index(1), naa: int = Index(1), v: float = Numeric(0)) -> None

Init by frequency size, angles, and stokes dimensionality to a value

  1. __init__(self: pyarts.arts.StokesVector, val: pyarts.arts.StokesVector) -> None

Copy instance

  1. __init__(self: pyarts.arts.StokesVector, wsv: pyarts.arts.WorkspaceVariable) -> None

Automatic conversion from a workspace variable

Methods

__init__(*args, **kwargs)

Overloaded function.

fromxml(file)

Create StokesVector from file

readxml(self, file)

Read StokesVector from file

savexml(self, file[, type, clobber])

Saves StokesVector to file

Attributes

data

Tensor4 The underlying data object