ArrayOfStokesVector

class pyarts.arts.ArrayOfStokesVector

A list of StokesVector

It aims to be compatible with list of StokesVector

Workspace methods that can generate ArrayOfStokesVector

Workspace methods that require ArrayOfStokesVector

Workspace variables of type ArrayOfStokesVector

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyarts.arts.ArrayOfStokesVector) -> None

Empty array

  1. __init__(self: pyarts.arts.ArrayOfStokesVector, size: int, cval: pyarts.arts.StokesVector) -> None

Sized same-value array

  1. __init__(self: pyarts.arts.ArrayOfStokesVector, arr: List[pyarts.arts.StokesVector]) -> None

Array from list

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

Copy instance

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

Automatic conversion from a workspace variable

Methods

__init__(*args, **kwargs)

Overloaded function.

append(self, arg0)

Appends a StokesVector at the end of the array

clear(self)

Empty the array of all values

copy(self)

Copy the array

extend(self, arg0)

Extend the array by another array

fromxml(file)

Create ArrayOfStokesVector from file

index(self, arg0)

Returns the first index of a value

insert(self, arg0, arg1)

Insert a value into the array

pop(self[, i])

Pops a StokesVector from the array

readxml(self, file)

Read ArrayOfStokesVector from file

reverse(self)

Reverse order of array

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

Saves ArrayOfStokesVector to file