LooT Manuals
Deutsch

Analysis, forecast and AI questions

Spectrum and spectrogram, forecasts of time series and questions to a language model about the data of your tenant.

Overview#

LooT offers three tools that go beyond simply looking at curves:

ToolPurposeWhere
Spectrum and spectrogramFrequency content of audio streams and measurement series, such as vibrationChart type "Spectrum", dashboard control "Spectrum analyzer"
ForecastExtend a time series into the future"Forecast …" button on the chart and on the node
Ask AIQuestions in natural language to a language model"Conversations" view

Forecast and AI questions belong to the AI analysis and must be switched on for your tenant (see "Requirements for AI analysis").

Spectrum and spectrogram#

A spectrum shows how the energy of a signal is distributed over frequencies: level in dB over frequency. A spectrogram (waterfall) shows this distribution over time: time horizontal, frequency vertical, color equals level.

Spectrum of a servo vibration with four peaks
Spectrum of a vibration measurement: the peaks are the dominant frequencies

Creating a spectrum chart#

  1. Create a chart and choose the Spectrum type in the bar (possible in an empty chart, too).
  2. Drag nodes into it. Possible are stream nodes (audio: wav, raw, mp4) and number nodes (Int, Long, Float, Double). For compound nodes, one field can be dragged directly. Audio and number series cannot be mixed in one chart.
  3. A spectrum overlays up to 8 series, a spectrogram exactly one.

The level is dBFS for audio and dB re unit² for number series (the node's unit appears on the axis). The spectrum averages over the whole time window; with the at locator switch it computes a single analysis window starting at the locator instead. In live mode it shows the newest complete section.

Options#

The options icon opens the spectrum options. The values apply to the whole chart:

OptionMeaning
ViewSpectrum or Spectrogram.
ComputationBrowser (default) or Server. Without a configured analysis service, "Server" is locked and names the reason.
RangeAverage over the time window or at locator.
Frequency axislinear or logarithmic; without a choice, audio uses logarithmic and number series linear.
Color scaleColor scale of the spectrogram.
FFT size256 to 65,536, default 4096. Larger means finer frequency resolution but coarser time resolution.
WindowHann (default), Hamming, Blackman-Harris, rectangular or flat-top.
Overlap0, 50 (default) or 75 %.
AveragingWelch mean (default), maximum or exponential (with factor α).
Remove meanRemoves the DC component; on by default for number series, off for audio.
dB rangeFixed or automatic.
Peak holdShows the held peak line live; Decay sets how fast it falls, in dB per second. Reset peaks in the bar starts anew.

Per series, you set via the legend entry: the sampling rate (for number series it is otherwise estimated from the timestamps), the channel or the mix of all channels for audio, and for raw data the encoding, channel count and rate.

Browser or server#

In the browser, your own computer calculates. Limits apply: at most 2,000,000 samples per series, and at most 256 segments in the spectrum; beyond that LooT computes from an evenly spread sample and points this out. For mp4 audio, the browser handles only AAC; for other codecs choose Server. The server (analysis service) computes exactly up to its own limit, caches spectrogram tiles and can read mp4 with further codecs. It checks your Read permission on the node with every request.

Good to know#

  • Number series are resampled onto a regular grid; a gap of more than three times the grid step separates sections. Sections that are too short yield no spectrum.
  • For streams, a gap of more than one second separates sessions; no section spans the boundary.
  • Errors appear per series as a message above the drawing; the legend then says "no result".
  • In a background tab, the live spectrum does not compute and catches up once when you return.
  • The command line offers the same computation (see Analysis on the command line).

Forecast#

A forecast extends a number series into the future with a prediction model. It appears as an overlay in the chart and can be written into nodes on request.

Starting a forecast#

The Forecast … button is in the bar of a time series chart (it covers the chart's number series) and in the ⋮ menu and the context menu of a node (which creates a new chart with the node). If AI analysis or the permission is missing, the button is greyed out with a reason, or absent.

The Forecast dialog asks for:

FieldMeaning
TargetsWhich series of the chart are extended.
HorizonHow far into the future: quick choices 1 h, 6 h, 1 d, 7 d, or free (such as 12h, 3d).
HistoryThe period the model learns from: the chart's time window. Change it via the time bar.
ModelThe tenant's default model by default.
CovariatesFurther series as influencing factors. Suitable ones are suggested, those with a known future are preselected; with More … you choose other number nodes.
BacktestThe forecast is computed from a freely chosen cut and laid over the real values; error measures and anomalies (marked red) are added. A backtest is not written.
AdvancedGrid step, value per grid point, quantiles for the band (default P10/P90) and anomaly band.

With Show, a dashed median line in the series color appears per target, with a band between the quantiles to the right of the existing history. A line above the chart names the model, grid and quantiles. The overlay is a display only: it is not saved and disappears with Remove forecast or on reload.

Writing into nodes#

Write to nodes … stores the forecast permanently. The Write forecast to nodes dialog shows per target and series a suggested target node: a matching existing one, or "new: …" with a create tick. You can change or deselect it. The target needs a number value type and the "Last Serve" setting so that a new forecast replaces the old one at the same timestamps; Write creates the confirmed nodes and writes median and quantiles. You need the Write permission on the target node. Values from the first forecast time on are replaced. There is no forecast history.

Ask AI#

With Ask AI you put questions about your tenant's time series to a language model, for example "What was the average temperature in hall 3 yesterday?". The model reaches LooT through tools: it searches nodes, reads details, key figures and values, computes forecasts and spectra, and lists stream sessions. It never sees more than you are allowed to see.

Starting a conversation#

  • Open the Conversations view in the rail and choose New conversation in the ⋮ menu.
  • Or choose Ask AI … in a node's context menu, in a chart's bar or in the command palette. The node, or the series together with the time window, is then preset as the context. The context appears as a chip above the input field and can be removed before sending.

Every conversation opens as a tab. Type your question; Enter sends, Shift + Enter starts a new line. The conversation's title is the shortened first question; you can rename or delete it.

Answers#

An answer often takes one to several minutes; the tab shows "Thinking …" with the elapsed time and Cancel. You may close the tab: the answer keeps being produced and is there the next time you open it (until then "answer pending" is shown). The answer appears as formatted text. An expandable tool log lists every call with parameters, result and duration, so you can trace where the numbers come from. After errors, Send again offers a new attempt.

A conversation holds at most 40 answered messages; after that LooT asks you to start a new one with New conversation.

Writing and changing#

If the asker has the necessary permissions, the model may also act, for example write values into a node, create or rename nodes or create a connection. It acts with your permissions, never more. Irreversible actions (for example deleting, changing permissions, sending a command) are not carried out by the model itself: they appear as a card with a summary and the buttons Execute (red for deletes) and Discard. Only your click carries them out; afterwards the card reads "Executed", "Failed" or "Discarded". System administration and the AI's own conversations are generally closed to the model.

Choosing a model#

You choose the conversation's model in the tab header as soon as more than one is available; the default is Tenant default. Which models exist is decided by administration (see "Requirements for AI analysis"). Internal models are small, freely licensed language models that run inside the stack itself. Tenant admins can additionally register external language models from a provider with an OpenAI-compatible interface; they appear marked "external" with the provider.

Privacy#

  • Conversations are private: only you read, rename and delete your conversations, not even admins. For others they do not exist. If you leave the tenant or it is deleted, they go with it.
  • Conversations stay stored until you delete them.
  • Internal models run in an isolated network without a connection to the internet; your data stays in-house.
  • External models: the question, node names and the values the model reads go to the provider. That is why the list names the provider. The API key lies only encrypted on the server and is never displayed.

Requirements for AI analysis#

Several things must come together for forecast and AI questions to be available:

RequirementWho provides it
The analysis service and at least one model are running.Stack operations
In the tenant, AI analysis active is on (off by default) and the allowed models are set.System admins
A default model is chosen.Tenant admins
You have the tenant permission Use forecasts (forecast) or Ask AI (questions). Nobody gets these automatically; tenant admins and system admins always have them.Tenant admins (see Tenant administration and Permissions)

Without the "Use forecasts" permission, "Forecast …" is absent from menus and bar; without "Ask AI", the "Conversations" view and "Ask AI …" are absent. If AI analysis is switched off or no model is reachable, a note names the reason. The command line has the same functions (see Analysis on the command line).

A product of Rheinwert Datentechnik · rheinwert.deVersion: LooT 0.9.10