@maschinenlesbar.org/strahlenschutz-cli
    Preparing search index...

    Type Alias StationTrend

    StationTrend:
        | {
            aboveBackground: boolean;
            baseline: number;
            change: number;
            days?: DayMean[];
            latest: HourValue;
            max: HourValue;
            mean: number;
            min: HourValue;
            notes: string[];
            notValidated: number;
            points?: HourValue[];
            recentMean: number;
            searched: { hours: number; station: string };
            station: StationSummary;
            status: "ok";
            unit: string;
            verdict: "steady" | "rising" | "falling" | "spike";
            verdictText: string;
            window: {
                from: string;
                gaps: number;
                hours: number;
                to: string;
                values: number;
            };
        }
        | {
            candidates: StationSummary[];
            searched: { station: string };
            status: "ambiguous";
            total: number;
        }
        | {
            reason: string;
            searched: { hours?: number; station: string };
            status: "empty";
        }

    The answer of getStationTrend.

    Type Declaration

    • {
          aboveBackground: boolean;
          baseline: number;
          change: number;
          days?: DayMean[];
          latest: HourValue;
          max: HourValue;
          mean: number;
          min: HourValue;
          notes: string[];
          notValidated: number;
          points?: HourValue[];
          recentMean: number;
          searched: { hours: number; station: string };
          station: StationSummary;
          status: "ok";
          unit: string;
          verdict: "steady" | "rising" | "falling" | "spike";
          verdictText: string;
          window: {
              from: string;
              gaps: number;
              hours: number;
              to: string;
              values: number;
          };
      }
      • aboveBackground: boolean

        Some hour is above NOTABLE_DOSE_RATE.

      • baseline: number

        The station's own level: the median before the newest hours.

      • change: number
      • Optionaldays?: DayMean[]

        Means per UTC day, for a window of 24 hours or more.

      • latest: HourValue
      • max: HourValue
      • mean: number
      • min: HourValue
      • notes: string[]
      • notValidated: number
      • Optionalpoints?: HourValue[]
      • recentMean: number

        The mean of the newest hours (up to 6).

      • searched: { hours: number; station: string }
      • station: StationSummary
      • status: "ok"
      • unit: string
      • verdict: "steady" | "rising" | "falling" | "spike"

        steady, rising, falling or spike (a short bump), judged against the baseline.

      • verdictText: string
      • window: { from: string; gaps: number; hours: number; to: string; values: number }
    • {
          candidates: StationSummary[];
          searched: { station: string };
          status: "ambiguous";
          total: number;
      }
    • {
          reason: string;
          searched: { hours?: number; station: string };
          status: "empty";
      }