[Numpy-discussion] Hello and my first patch

Robert Kern robert.kern at gmail.com
Thu Oct 5 15:02:52 CDT 2006


Greg Willden wrote:
> On 10/5/06, *Robert Kern* <robert.kern at gmail.com 
> <mailto:robert.kern at gmail.com>> wrote:
> 
>     Greg Willden wrote:
> 
>      >  From my view as a newbie to numpy/scipy/matplotlib it isn't
>     clear where
>      > I should look for what functionality.  Matplotlib plots the
>     spectrogram
>      > but it only supports two or three window functions.  Numpy
>     supports 4 or
>      > 5 window functions and Scipy apparently supports more but Matplotlib
>      > doesn't support Scipy.
> 
>     That's not true. specgram() takes a windowing function. It doesn't
>     matter where
>     that function comes from. 
> 
> The next sentence (that you snipped) afirms what you said.
> <quote>
> Of course this is a minor example and I could just write the window 
> function myself and then use it in Matplotlib
> </quote>
> 
> The details of my off-the-cuff example would probably be better 
> addressed by the Matplotlib folks.  (i.e. why they don't have builtin 
> functions for more windows).
> 
> You can see how it's all very confusing to someone new.
> "Matplotlib can plot a spectrogram but I need to use a window function 
> from SciPy because Matplotlib only supports NumPy and NumPy doesn't have 
> the one I want?"
> 
> You get the idea.

No, I'm afraid I don't.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco





More information about the Numpy-discussion mailing list