Prabhu Ramachandran | 26 Nov 13:33

Re: split processing pipeline (filters) in the code

Gael Varoquaux wrote:

> On Mon, Nov 24, 2008 at 02:23:47PM -0500, Yaroslav Halchenko wrote:
>> So, I want to have
>>                      /-> ImageFourierCenter -> some modules to visualize
>> data -> FFT -> Filter -> RFFT -> more processing
> 
> Very quickly (I am starving), I added some unfinished docs to do this
> using Mlab yesterday evening, and Chris C updated the webpage:
> http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html#controlling-the-pipeline-with-mlab-scripts
> 
> Hopefully this will help you out (this is only the mlab way of doing
> things, we also need to document the direct way of doing things, which
> would be by setting using script.add_filter(rfft, obj=ffilter), I
> believe, from a quick scan of your script).

Another option would be to do:

  ffilter.add_child(rfft)

IIRC this is documented in the advanced scripting chapter somewhere.

cheers,
prabhu

p.s. Its end of semester and I'm simply inundated with work so my 
responses are going to be tardy for a while.

Gmane