Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/data/model/FFTModel.h Tue Nov 11 09:41:45 2008 +0000 +++ b/data/model/FFTModel.h Tue Nov 11 13:54:47 2008 +0000 @@ -139,6 +139,10 @@ virtual void getColumn(size_t x, Column &result) const; virtual QString getBinName(size_t n) const; + virtual bool shouldUseLogValueScale() const { + return true; // Although obviously it's up to the user... + } + /** * Calculate an estimated frequency for a stable signal in this * bin, using phase unwrapping. This will be completely wrong if