|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclickDetector.ClickClassifiers.basicSweep.ZeroCrossingStats
public class ZeroCrossingStats
Simple container for a few zero crossing parameters. Will extract these from zero crosing data sent to the constructor.
| Field Summary | |
|---|---|
double |
endFreq
Zero crossing end frequency from fit |
int |
nCrossings
Number of zero crossings |
(package private) double |
sampleRate
|
double |
startFreq
Zero crossing start frequency from fit. |
double |
sweepRate
Zero crossing sweep rate in Hz/second |
(package private) double[] |
zeroCrossings
|
| Constructor Summary | |
|---|---|
ZeroCrossingStats()
Default constructor, does nothing. |
|
ZeroCrossingStats(double[] zeroCrossings,
double sampleRate)
Constructor which automatically extracts parameters from some zero crossing data |
|
| Method Summary | |
|---|---|
private void |
extractParams()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
double[] zeroCrossings
double sampleRate
public int nCrossings
public double sweepRate
public double startFreq
public double endFreq
| Constructor Detail |
|---|
public ZeroCrossingStats()
public ZeroCrossingStats(double[] zeroCrossings,
double sampleRate)
zeroCrossings - array of zero crossing times in samplessampleRate - sample rate| Method Detail |
|---|
private void extractParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||