Skip to main content

modes_along

Function modes_along 

Source
pub fn modes_along(
    machine: &dyn Machine,
    pose: &[f64],
    axis: usize,
    points: usize,
) -> Vec<(f64, Vec<Mode>)>
Expand description

The modes the machine reports (Machine::modes) at points places spread evenly over the range of axis axis, both ends included, the other axes where pose has them: the resonances over a stroke, to choose shaper frequencies by (sim-cli modes, the app’s plot of them). Each place with its modes, which may be fewer at one place than at another.