Avena Webapp API - v0.0.1
    Preparing search index...

    Module plot/channel

    Per-channel settings and derived values of the live plot page.

    Pure TypeScript with no Svelte dependency, so it is unit tested directly. The page keeps one "plot/channel-view.svelte"!ChannelView per enabled channel; these helpers compute what it shows from that state.

    Interfaces

    AxisSettings
    ChannelStreamStatus
    PlotConfig

    Type Aliases

    ChannelPlotMode

    Variables

    MAX_PLOT_CHANNELS
    SNAPSHOT_OVERSCAN_FACTOR
    TARGET_SAMPLES_PER_WINDOW

    Functions

    channelStatusLabel
    defaultAxisSettings
    defaultTriggerSettings
    deriveAutoTimeWindowSec
    isTriggerMode
    pickInitialPlotChannels
    plotConfigFor
    requiredBufferPoints
    snapshotKeepMs
    snapshotRateHz
    streamProblemText
    togglePlotSelection