Source code for ska_ost_senscalc.low.model

import dataclasses
import enum


[docs]@dataclasses.dataclass class CalculatorInput: """ This dataclass represents the internal model of the Calculator. While currently it is the same as the API parameters, this will not necessarily be the case as the functionality expands. """ _: dataclasses.KW_ONLY freq_centre: float bandwidth: float num_stations: int pointing_centre: str duration: float
[docs]@dataclasses.dataclass class CalculatorResult: """ This dataclass represents the internal result of a single Calculation. """ sensitivity: float units: str
[docs]class LowSpectralMode(enum.Enum): """ Enumeration for calculator modes supported by the LOW calculator. """ LINE = "line" CONTINUUM = "continuum"