public FreqPoint[] GetRange(StdOptions options) { var range = new FreqPoint[options.CountFreq]; var w = options.StartFreq; for (var i = 0; i < options.CountFreq; i++) { range[i] = new FreqPoint(calculator.CalcFreq(signal, w), w); w += options.StepFreq; } return(range); }
public void SwitchOptions(StdOptions opts) { Options = opts; }
public SimpleSpectrumGener(ISignal origin, StdOptions opts) { analyzer = new SimpleAnalyzer(origin); Options = opts; }
public void SwitchOptions(StdOptions newOptions) { generator.SwitchOptions(newOptions); }