MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::LagRelation Struct Reference

A candidate offset between two streams and how strongly the windows support it. More...

#include <Relation.hpp>

+ Collaboration diagram for MayaFlux::Kinesis::LagRelation:

Public Attributes

long lag { 0 }
 Samples b is offset from a; positive means b lags a.
 
double strength { 0.0 }
 Correlation at that lag, in -1..1. Near zero means no relation.
 

Detailed Description

A candidate offset between two streams and how strongly the windows support it.

Mirrors PeriodEstimate in TemporalMeasures.hpp for the same reason: a bare best lag, with no strength attached, silently reports structure in noise on every call, including calls where the two streams are genuinely unrelated. lag and strength together separate "these lead one another by this much" from "no relationship was found".

Definition at line 90 of file Relation.hpp.


The documentation for this struct was generated from the following file: