Mercurial > hg > svcore
comparison data/model/FFTModel.h @ 478:1405f4a2caf3
* Add use-log-scale estimator. Not quite right yet; the model doesn't
actually have any data in it yet at the point where we want to make
this decision
* Update changelog
author | Chris Cannam |
---|---|
date | Tue, 11 Nov 2008 13:54:47 +0000 |
parents | 115f60df1e4d |
children | b6dc6c7f402c |
comparison
equal
deleted
inserted
replaced
477:e0784311a103 | 478:1405f4a2caf3 |
---|---|
137 return 1.f; // Can't provide | 137 return 1.f; // Can't provide |
138 } | 138 } |
139 virtual void getColumn(size_t x, Column &result) const; | 139 virtual void getColumn(size_t x, Column &result) const; |
140 virtual QString getBinName(size_t n) const; | 140 virtual QString getBinName(size_t n) const; |
141 | 141 |
142 virtual bool shouldUseLogValueScale() const { | |
143 return true; // Although obviously it's up to the user... | |
144 } | |
145 | |
142 /** | 146 /** |
143 * Calculate an estimated frequency for a stable signal in this | 147 * Calculate an estimated frequency for a stable signal in this |
144 * bin, using phase unwrapping. This will be completely wrong if | 148 * bin, using phase unwrapping. This will be completely wrong if |
145 * the signal is not stable here. | 149 * the signal is not stable here. |
146 */ | 150 */ |