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

    Function pickInitialPlotChannels

    • Chooses up to two channels to plot after a config load.

      Keeps channels from the previous selection that are still enabled, then fills up to two from enabledChannels in config order.

      Parameters

      • enabledChannels: number[]

        channels_enabled from the config.

      • OptionalexistingSelection: Set<number>

        Selection before the reload, if any.

      Returns Set<number>

      A new set with at most two channels.