本文整理匯總了Java中com.rapidminer.tools.math.BinaryPeakFinder類的典型用法代碼示例。如果您正苦於以下問題:Java BinaryPeakFinder類的具體用法?Java BinaryPeakFinder怎麽用?Java BinaryPeakFinder使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
BinaryPeakFinder類屬於com.rapidminer.tools.math包,在下文中一共展示了BinaryPeakFinder類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: SinusFactory
import com.rapidminer.tools.math.BinaryPeakFinder; //導入依賴的package包/類
/**
* Creates a new sinus factory which creates <code>maxPeaks</code> new peaks. Uses
* Blackman-Harris window function and no spectrum filter as default. The adaption type is
* gaussian with an epsilon of 0.1. The factory produces three attributes for each highest peak
* as default.
*/
public SinusFactory(int maxPeaks) {
this.maxPeaks = maxPeaks;
this.fft = new FastFourierTransform(WindowFunction.BLACKMAN_HARRIS);
this.filter = new SpectrumFilter(SpectrumFilter.NONE);
this.peakFinder = new BinaryPeakFinder();
}
示例2: SinusFactory
import com.rapidminer.tools.math.BinaryPeakFinder; //導入依賴的package包/類
/**
* Creates a new sinus factory which creates <code>maxPeaks</code> new
* peaks. Uses Blackman-Harris window function and no spectrum filter as
* default. The adaption type is gaussian with an epsilon of 0.1. The
* factory produces three attributes for each highest peak as default.
*/
public SinusFactory(int maxPeaks) {
this.maxPeaks = maxPeaks;
this.fft = new FastFourierTransform(WindowFunction.BLACKMAN_HARRIS);
this.filter = new SpectrumFilter(SpectrumFilter.NONE);
this.peakFinder = new BinaryPeakFinder();
}