On Mon, Oct 07, 2013 at 05:41:56PM -0700, Dave Doty wrote:
> What appears to happen is that the Datafield method fit_lines is called
> properly on all opened windows. However, the two invocations to
> gwy.gwy_process_func_run do not work on any open window, except the one
> that is active when I start the batch processing.

Using module functions on non-current data is tricky.  I modified you
script so that it works – the key was adding a
gwy_app_data_browser_select_data_field() call – but note that running
processing modules on data that are not displayed in any window may not
work.

It might be better to do similar processing outside Gwyddion such as in

https://sourceforge.net/p/gwyddion/mailman/message/30725548/

unless, of course, you want to open interactively the data and then run
the script on them.

Regards,

Yeti


------------------------------------------------------------------------------
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=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to