From: Mike M. <mtm...@ie...> - 2012-08-15 15:29:16
|
On Wed, Aug 15, 2012 at 10:58 AM, Dr. Alexander Klein wrote: > Am 15.08.2012 um 16:50 schrieb Mike Miller: > >> assert ( damp_db, [ -3 -251.9 -3 ], -0.1 ) > > Mike, > > would you mind trying with -0.01 as the relative tolerance? A 10% limit seems a bit much ... On my system I get maximum relative errors of 0.0311534 and 0.0172248 for the 2 Hz and 1 Hz bandwidth cases respectively so 1% is too low. We could set the limit somewhere in between 3% and 10%. Or would calculating the error on a linear scale rather than dB be more appropriate? I haven't tried that yet. -- mike |