On Thu, Oct 03, 2013 at 07:20:26PM -0700, Dave Doty wrote:
> I cannot find any documentation indicating what strings to use to call
> other functions available in the Gwyddion menu. Is this information
> provided somewhere in the documentation?
The functions provided by Gwyddion modules can be found in Meta → Module
Browser. Functions prefixed with proc:: are data processing functions.
Some functionality is only available in modules but if it's possible is
better to use methods of DataField (and other objects) directly, see
http://gwyddion.net/documentation/head/pygwy/
> Similarly, I am not sure how the buttons with pictures in the main Gwyddion
> window map to the (larger list of) functions listed by name under the "Data
> Process" menu.
If it is unclear from the tooltip, you can look them up in
${prefix}/share/gwyddion/ui/toolbox.xml (which, by the way, can be used
to customise the toolbox if you put it to ~/.gwyddion/ui/ and modify).
> In particular, I would like to automatically process my data using the
> button row whose tooltip reads "Level X or Y lines with polynomials", then
> with the button whose tooltip reads "Correct horizontal scars (strokes)" (I
> assume that is the second line of code I wrote above), then with the button
> whose tooltip reads "Remove polynomial background".
The first one is a tool. Tools operate interactively on the data
windows and cannot be scripted. But you can use the
DataField.fit_lines() method directly.
> It would also be nice to assign these to keyboard shortcuts, but to do so,
> I need to know which text-labeled menu item under the "Data Process" menu
> corresponds to those buttons, and I cannot find any documentation
> indicating this.
Please see
http://gwyddion.net/documentation/user-guide-en/keyboard-shortcuts.html
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=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users