Skip to main content

Documentation for ScryLab v0.7.1

Changelogs
On this page

    Metrics

    A metric is one number read off a signal. ScryLab shows the metrics of the selected plotted signal in the Metrics section of the right sidebar, and you can pin up to two of them as columns in the legend of a plot. While a range is active in the plot, the metrics refer to the samples within the range instead of the whole signal.

    The same list is used wherever an operation reads a value: in Segment Metric for one value per segment and in Curve Metric for one value from a curve.

    MetricWhat it is
    RMSRoot Mean Square – effective value of the signal
    MeanArithmetic mean of all y-values
    StdStandard deviation
    MinMinimum y-value
    MaxMaximum y-value
    Min XX-value where the minimum lies
    Max XX-value where the maximum lies
    PeakPeak amplitude – max(|y|)
    Peak XX-value at peak max(|y|), sign-blind – e.g. peak frequency
    IntegralNumerical integral (trapezoidal rule)
    CountNumber of valid (finite) data points
    MedianMedian y-value
    P-PPeak-to-Peak – max(y) − min(y)
    SlopeLeast-squares slope dy/dx over the samples (y-unit per x-unit)
    Dom. Freq.Frequency with highest amplitude in the spectrum (Hz)
    Spectr. Centr.Spectral Centroid – Energy-weighted mean frequency (Hz)
    Energy BWFrequency below which 95 % of spectral energy lies (Hz) – useful as lowpass cutoff estimate
    THDTotal Harmonic Distortion (%) – RMS of harmonics 2…40 relative to the fundamental (found automatically); needs ≥ 10 periods