pub fn combined(
    fncs: &'static [&SpectrumScalingFunction]
) -> Box<SpectrumScalingFunction>
Expand description

Combines several scaling functions into a new single one.

Currently there is the limitation that the functions need to have a 'static lifetime. This will be fixed if someone needs this.

Example

use spectrum_analyzer::scaling::{combined, divide_by_N, scale_20_times_log10};
let fncs = combined(&[&divide_by_N, &scale_20_times_log10]);