[SciPy-User] frequency components of a signal buried in a noisy time domain signal
Charles R Harris
Sat Feb 27 13:03:02 CST 2010
On Sat, Feb 27, 2010 at 11:58 AM, Ivo Maljevic <firstname.lastname@example.org>wrote:
> I am sorry guys, but the solution I've proposed, and the one that was
> proposed by the scipy camp would cause confusion for those who switch from
> Matlab, and I just checked that.
> If you are going to use the same name as the Matlab one, than this function
> should return the m such that 2**m >= abs(n), and should not return 2^m.
> Whatever approach you guys want to use (and I believe that especially given
> what the function should return), do not return 2**m, but just m instead.
> For example:
For the table approach, it is the index returned by searchsorted. For floats
it is np.frexp(x).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User