# SDK CV Configs¶

struct Metavision::FrequencyEstimationConfig

Configuration used when estimating the frequency of periodic signals.

Public Functions

FrequencyEstimationConfig(unsigned int filter_length = 7, float min_freq = 10.f, float max_freq = 150.f, unsigned int diff_thresh_us = 1500)

Constructor.

Note

Internally, the algorithm first estimates period using the events’ timestamps and then converts it to frequency. The decision-making criterion diff_thresh_us is then absolute in the period domain, instead of the frequency domain.

Parameters
• filter_length: Number of measures of the same period before outputting an event

• min_freq: Minimum frequency to output.

• max_freq: Maximum frequency to output.

• diff_thresh_us: Maximum difference (us) allowed between two consecutive periods to be considered the same.

struct Metavision::PeriodEstimationConfig

Configuration used when estimating the period of periodic signals.

Public Functions

PeriodEstimationConfig(unsigned int filter_length = 7, float min_period = 6500, unsigned int max_period = 1e5, float diff_thresh_us = 1500)

Constructor.

Parameters
• filter_length: Number of measures of the same period before outputting an event

• min_period: Minimum period (us) to output. Default value is 6500us, which corresponds to 153Hz.

• max_period: Maximum period (us) to output. Default value is 1e5us, which corresponds to 10Hz.

• diff_thresh_us: Maximum difference (us) allowed between two consecutive periods to be considered the same.