Spectrometer

class pyarts3.arts.sensor.Spectrometer(*args, **kwargs)

A spectrometer made from channels arranged on one shared relative-frequency grid.

Overview

Method

is_synced()

Return whether all channels share the same relative-frequency grid.

list[Channel]

channels

Spectrometer channels.

Operator

__eq__()

Return self==value.

Operator

__format__()

__format__(self, arg: str, /) -> str

Operator

__ge__()

Return self>=value.

Operator

__getitem__()

__getitem__(self, arg: int, /) -> pyarts3.arts.sensor.Channel

Operator

__gt__()

Return self>value.

Operator

__hash__()

Return hash(self).

Operator

__init__()

Overloaded function.

Operator

__iter__()

Iterate over the spectrometer channels.

Operator

__le__()

Return self<=value.

Operator

__len__()

__len__(self) -> int

Operator

__lt__()

Return self<value.

Operator

__ne__()

Return self!=value.

Operator

__repr__()

__repr__(self) -> str

Operator

__str__()

__str__(self) -> str

Constructors

__init__(self, base_channel: pyarts3.arts.sensor.Channel, freq_offsets: pyarts3.arts.AscendingGrid) None
__init__(self, freq_offsets: pyarts3.arts.AscendingGrid) None
__init__(self, channels: collections.abc.Sequence[pyarts3.arts.sensor.Channel]) None
__init__(self, arg: pyarts3.arts.sensor.Spectrometer) None

Overloaded function.

  1. __init__(self, base_channel: pyarts3.arts.sensor.Channel, freq_offsets: pyarts3.arts.AscendingGrid) -> None

Construct a spectrometer by shifting one base channel across the supplied relative-frequency offsets.

  1. __init__(self, freq_offsets: pyarts3.arts.AscendingGrid) -> None

Construct a spectrometer with Dirac channels across the supplied relative-frequency offsets.

  1. __init__(self, channels: collections.abc.Sequence[pyarts3.arts.sensor.Channel]) -> None

Construct a spectrometer from explicit channels.

  1. __init__(self, arg: pyarts3.arts.sensor.Spectrometer) -> None

Methods

is_synced(self) bool

Return whether all channels share the same relative-frequency grid.

Attributes

channels: list[Channel]

Spectrometer channels.

Operators

__eq__(value, /)

Return self==value.

__format__(self, arg: str, /) str
__ge__(value, /)

Return self>=value.

__getitem__(self, arg: int, /) pyarts3.arts.sensor.Channel
__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__init__(self, base_channel: pyarts3.arts.sensor.Channel, freq_offsets: pyarts3.arts.AscendingGrid) None
__init__(self, freq_offsets: pyarts3.arts.AscendingGrid) None
__init__(self, channels: collections.abc.Sequence[pyarts3.arts.sensor.Channel]) None
__init__(self, arg: pyarts3.arts.sensor.Spectrometer) None

Overloaded function.

  1. __init__(self, base_channel: pyarts3.arts.sensor.Channel, freq_offsets: pyarts3.arts.AscendingGrid) -> None

Construct a spectrometer by shifting one base channel across the supplied relative-frequency offsets.

  1. __init__(self, freq_offsets: pyarts3.arts.AscendingGrid) -> None

Construct a spectrometer with Dirac channels across the supplied relative-frequency offsets.

  1. __init__(self, channels: collections.abc.Sequence[pyarts3.arts.sensor.Channel]) -> None

Construct a spectrometer from explicit channels.

  1. __init__(self, arg: pyarts3.arts.sensor.Spectrometer) -> None

__iter__(self) collections.abc.Iterator[pyarts3.arts.sensor.Channel]

Iterate over the spectrometer channels.

__le__(value, /)

Return self<=value.

__len__(self) int
__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__repr__(self) str
__str__(self) str