Mercurial > hg > svcore
comparison data/model/FFTModel.h @ 1136:e94719f941ba tony-2.0-integration
Return maximum through getNormalizedMagnitudesAt to avoid having to make more than one call
author | Chris Cannam |
---|---|
date | Tue, 20 Oct 2015 12:54:06 +0100 |
parents | 5cbf71022679 |
children | 444d133b5ab7 |
comparison
equal
deleted
inserted
replaced
1135:7fb1a7199e5b | 1136:e94719f941ba |
---|---|
100 float getMaximumMagnitudeAt(int x) const; | 100 float getMaximumMagnitudeAt(int x) const; |
101 float getPhaseAt(int x, int y) const; | 101 float getPhaseAt(int x, int y) const; |
102 void getValuesAt(int x, int y, float &real, float &imaginary) const; | 102 void getValuesAt(int x, int y, float &real, float &imaginary) const; |
103 bool isColumnAvailable(int x) const; | 103 bool isColumnAvailable(int x) const; |
104 bool getMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; | 104 bool getMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; |
105 bool getNormalizedMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; | 105 float getNormalizedMagnitudesAt(int x, float *values, int minbin = 0, int count = 0) const; // returns maximum of unnormalized magnitudes |
106 bool getPhasesAt(int x, float *values, int minbin = 0, int count = 0) const; | 106 bool getPhasesAt(int x, float *values, int minbin = 0, int count = 0) const; |
107 bool getValuesAt(int x, float *reals, float *imaginaries, int minbin = 0, int count = 0) const; | 107 bool getValuesAt(int x, float *reals, float *imaginaries, int minbin = 0, int count = 0) const; |
108 | 108 |
109 /** | 109 /** |
110 * Calculate an estimated frequency for a stable signal in this | 110 * Calculate an estimated frequency for a stable signal in this |