I am either misunderstanding something about pygwy, or my install is
not working. The main issue is that I want to batch process several
STM files by writing a python script without opening the main gwyddion
GUI. I am getting the following error in ipython:

In [1]: import gwy
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/jrsmith3/<ipython console> in <module>()

ImportError: No module named gwy

Also, locate pygwy yields the following results:

jrsmith3@hermes:~$ locate pygwy
/home/jrsmith3/.gwyddion/pygwy
/usr/lib/gwyddion/modules/pygwy.so
/usr/share/doc/gwyddion/README.pygwy.gz
/usr/share/gwyddion/pygwy
/usr/share/gwyddion/pygwy/gwyutils.py

However, when I run gwyddion, I can access the pygwy console under
Data Process -> Pygwy Console. From all of these results, it looks
like any python script I write with "include gwy" will fail.  I was
under the impression that pygwy was a python module that one could
import into a script or program and programmatically leverage all the
functionality of gwyddion. Is that impression wrong? Is the only way
to access pygwy through the main gwyddion GUI?

I have an install of Kubuntu 10.04.2 and I installed gwyddion 2.19
using apt-get. I am using an RHK microscope that outputs SM4 data
files.

Thanks for your help. Please let me know if you need more information
about my system or install.

Best,
Joshua

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to