From: Pierre H. <pie...@cr...> - 2013-10-25 13:20:02
|
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 |