Le 25/10/2013 14:57, Pierre Haessig a écrit :
> 2) default NFFT value being hidden from views
>
> used to be def specgram(x, NFFT=256,  Fs=2, ...
> now is     def specgram(x, NFFT=None, Fs=None
>
> I think that NFFT is an important parameter of the spectrum
> computation. It should not be /hidden from the immediate view of the
> user/. The fact it is set to 256 is an arbitrary choice and I think it
> even teaches something to the user (if he doesn't know what it is).
> Such a fixed value is an "invitation to change it". Now with
> NFFT=None, it is more likely to imply "a good choice was made for
> you", which is not true (because there is no such good choice for all
> datasets).
My, mistake, this 2nd point is pointless!

I got confused because I'm not familiar with the docstring convention
which make signatures are hard-written in the docstring. Thanks Todd for
pointing me this.

best,
Pierre

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to