ArrayOfIndex

class pyarts.arts.ArrayOfIndex

A list of Index

Workspace methods that can generate ArrayOfIndex

Workspace methods that require ArrayOfIndex

Workspace variables of type ArrayOfIndex

__init__(*args, **kwargs)

Overloaded function.

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

Copy instance

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

Automatic conversion from a workspace variable

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

Empty array

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

Sized same-value array

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

Array from list

Methods

__init__(*args, **kwargs)

Overloaded function.

append(self, arg0)

Appends a Index 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

flatten(self)

As for numpy.ndarray

fromxml(file)

Create ArrayOfIndex 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 Index from the array

readxml(self, file)

Read ArrayOfIndex from file

reverse(self)

Reverse order of array

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

Saves ArrayOfIndex to file

Attributes

dtype

As for numpy.ndarray

ndim

As for numpy.ndarray

shape

As for numpy.ndarray

size

As for numpy.ndarray

value

Operate on type as if numpy.ndarray type