Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimPhaseCoherenceConfig Struct Reference

Controls thresholded phase-coherence metrics and phase-lock detection. More...

#include <sim_field_stats_runtime.h>

Public Attributes

double abs_threshold
 
double rel_threshold
 
bool weighted
 
double lock_on
 
double lock_off
 
double smoothing_constant
 
bool deramp_enabled
 

Detailed Description

Controls thresholded phase-coherence metrics and phase-lock detection.

Member Data Documentation

◆ abs_threshold

double SimPhaseCoherenceConfig::abs_threshold

Absolute magnitude threshold for phase samples.

◆ deramp_enabled

bool SimPhaseCoherenceConfig::deramp_enabled

Remove the dominant spectral bin before k0 coherence.

◆ lock_off

double SimPhaseCoherenceConfig::lock_off

EMA threshold that exits the locked state.

◆ lock_on

double SimPhaseCoherenceConfig::lock_on

EMA threshold that enters the locked state.

◆ rel_threshold

double SimPhaseCoherenceConfig::rel_threshold

Relative threshold scaled by mean magnitude.

◆ smoothing_constant

double SimPhaseCoherenceConfig::smoothing_constant

EMA smoothing time constant in seconds.

◆ weighted

bool SimPhaseCoherenceConfig::weighted

Use magnitude-weighted coherence for lock decisions.


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