gmj.ee.analyzer
Class SpectrumAnalyzer
java.lang.Object
gmj.ee.analyzer.SpectrumAnalyzer
- All Implemented Interfaces:
- SampleListener
public class SpectrumAnalyzer
- extends Object
- implements SampleListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
samplesPerSec
protected int samplesPerSec
samplesPerBatch
protected int samplesPerBatch
sampleInterval
protected double sampleInterval
freqResolution
protected double freqResolution
timeFrame
protected JFrame timeFrame
freqFrame
protected JFrame freqFrame
timeGraph
protected Graph2D timeGraph
freqGraph
protected Graph2D freqGraph
t_minX
protected double t_minX
t_maxX
protected double t_maxX
t_minY
protected double t_minY
t_maxY
protected double t_maxY
t_minorTicIntervalX
protected double t_minorTicIntervalX
t_majorTicIntervalX
protected double t_majorTicIntervalX
t_minorTicIntervalY
protected double t_minorTicIntervalY
t_majorTicIntervalY
protected double t_majorTicIntervalY
f_minX
protected double f_minX
f_maxX
protected double f_maxX
f_minY
protected double f_minY
f_maxY
protected double f_maxY
f_minorTicIntervalX
protected double f_minorTicIntervalX
f_majorTicIntervalX
protected double f_majorTicIntervalX
f_minorTicIntervalY
protected double f_minorTicIntervalY
f_majorTicIntervalY
protected double f_majorTicIntervalY
scmReader
protected SCMReader scmReader
WIDTH
protected static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
protected static final int HEIGHT
- See Also:
- Constant Field Values
F_HEIGHT
protected static final int F_HEIGHT
- See Also:
- Constant Field Values
X_BORDER
protected static final int X_BORDER
- See Also:
- Constant Field Values
Y_BORDER
protected static final int Y_BORDER
- See Also:
- Constant Field Values
SpectrumAnalyzer
public SpectrumAnalyzer(int samplesPerSec,
int samplesPerBatch)
doTest
public void doTest()
newSamples
public void newSamples(int[] samples)
- Specified by:
newSamples
in interface SampleListener
samplesToSeries
protected Series samplesToSeries(int[] samples)
timeSeriesToFreqSeries
protected Series timeSeriesToFreqSeries(Series timeSeries)
getSeries
protected Series getSeries()
generateSeries
protected Series generateSeries()
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.