Matrix

class pyarts.arts.Matrix

A 2 dimensional array of Numeric

This class is mostly compatible with numpy arrays including numpy math. The data can be accessed without copy using np.array(x, copy=False) or via x.value

Workspace methods that can generate Matrix

Workspace methods that require Matrix

Workspace variables of type Matrix

__init__(*args, **kwargs)

Overloaded function.

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

Default matrix

  1. __init__(self: pyarts.arts.Matrix, mat: List[List[Union[float, int]]]) -> None

From list equivalent

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

Copy instance

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

Automatic conversion from a workspace variable

Methods

__init__(*args, **kwargs)

Overloaded function.

flatten(self)

As for numpy.ndarray

fromxml(file)

Create Matrix from file

readxml(self, file)

Read Matrix from file

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

Saves Matrix to file

Attributes

T

Non-trivial transpose

dtype

As for numpy.ndarray

ndim

As for numpy.ndarray

shape

As for numpy.ndarray

size

As for numpy.ndarray

value

ndarray Data array