Skip to main content

refinement

Function refinement 

Source
pub fn refinement(points: &[(f64, [f64; 2])]) -> Vec<f64>
Expand description

The frequencies to measure next between neighbours of a response, points (frequency, complex value) in frequency order: the geometric middle of each two that differ by more than REFINE_TURN_DEG or REFINE_GAIN_DB and are further apart than REFINE_CLOSEST. Points with a value that is not a number are not split.