Discussion:
[Gwyddion-users] Pygwy with Windows 7
N***@ens.etsmtl.ca
2015-11-30 23:15:08 UTC
Permalink
Hello all,

I am trying to write scripts for processing multiple LEXT files. I'm running Gwyddion 2.43 Win32 on Windows 7 Enterprise 64bit with Python 2.7.10.

I have read http://gwyddion.net/documentation/pygwy.php and copied-pasted the "Data processing module example" script into a .py file.

The fact is that I cannot even have the script running.
I even don't know if I'm saving the file in the right place, nor where it should appear when Gwyddion is restarted. In Data process/Correct Data, I guess.

I have no $HOME/.gwyddion/ directory. Rather, I have a $HOME/gwyddion/ directory, without point (actually C:\Users\[myname]\gwyddion).

It contains the following subfolders:
[.] [..] gwyddion.log [modules] [neuralnetwork]
[plugins] recent-files settings [ui]

No "pygwy" subfolder.

So I tried several things:
- creating the folder \gwyddion\pygwy and copying my script into it.
- Replicating \gwyddion into \.gwyddion with the pygwy subfolder.
- Copying my script into \modules\process

That's pretty much about it.

Besides, I can't find the Pygwy console, but as far as I understand, this is a common issue when using Gwyddion in Windows. As a matter of fact, it seems to me that using Gwiddion in Windows is not the best practice...

Thanks in advance if anyone has time to help me.
And many thanks for the program anyway, I find it very useful for my work.
Andrés Muñiz Piniella
2015-12-01 00:06:29 UTC
Permalink
El 30 de noviembre de 2015 23:15:08 GMT+00:00, ***@ens.etsmtl.ca escribió:
>Hello all,
>
>I am trying to write scripts for processing multiple LEXT files. I'm
>running Gwyddion 2.43 Win32 on Windows 7 Enterprise 64bit with Python
>2.7.10.
>
>I have read http://gwyddion.net/documentation/pygwy.php and
>copied-pasted the "Data processing module example" script into a .py
>file.
>
Before that you will need to install python and other modules see

http://gwyddion.net/documentation/user-guide-en/installation-ms-windows.html#installation-ms-windows-pygwy

Close Gwyddion and run again after the install. The console under data process should be a tell tell sign that all is well.


>The fact is that I cannot even have the script running.
>I even don't know if I'm saving the file in the right place, nor where
>it should appear when Gwyddion is restarted. In Data process/Correct
>Data, I guess.
>
>I have no $HOME/.gwyddion/ directory. Rather, I have a $HOME/gwyddion/
>directory, without point (actually C:\Users\[myname]\gwyddion).
>

Yes, the manual defaults to linux at some points. That is understandable.

>It contains the following subfolders:
>[.] [..] gwyddion.log [modules]
>[neuralnetwork]
>[plugins] recent-files settings [ui]
>
>No "pygwy" subfolder.
>
I think you get this after you install the python modules missing.

>So I tried several things:
>- creating the folder \gwyddion\pygwy and copying my script into it.
>- Replicating \gwyddion into \.gwyddion with the pygwy subfolder.
>- Copying my script into \modules\process
>



>That's pretty much about it.
>
>Besides, I can't find the Pygwy console, but as far as I understand,
>this is a common issue when using Gwyddion in Windows. As a matter of
>fact, it seems to me that using Gwiddion in Windows is not the best
>practice...
>

It should be OK as long as you use 32 bit

>Thanks in advance if anyone has time to help me.
>And many thanks for the program anyway, I find it very useful for my
>work.
>
>

Out of SPM data analysis it does tick all the boxes for me as well.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
N***@ens.etsmtl.ca
2015-12-03 00:31:05 UTC
Permalink
That works perfectly! Many thanks!

Nicolas
________________________________________
De : Andrés Muñiz Piniella [***@gmail.com]
Envoyé : 30 novembre 2015 19:06
À : Gwyddion use discussion; Nicolas Vanderesse
Objet : Re: [Gwyddion-users] Pygwy with Windows 7

El 30 de noviembre de 2015 23:15:08 GMT+00:00, ***@ens.etsmtl.ca escribió:
>Hello all,
>
>I am trying to write scripts for processing multiple LEXT files. I'm
>running Gwyddion 2.43 Win32 on Windows 7 Enterprise 64bit with Python
>2.7.10.
>
>I have read http://gwyddion.net/documentation/pygwy.php and
>copied-pasted the "Data processing module example" script into a .py
>file.
>
Before that you will need to install python and other modules see

http://gwyddion.net/documentation/user-guide-en/installation-ms-windows.html#installation-ms-windows-pygwy

Close Gwyddion and run again after the install. The console under data process should be a tell tell sign that all is well.


>The fact is that I cannot even have the script running.
>I even don't know if I'm saving the file in the right place, nor where
>it should appear when Gwyddion is restarted. In Data process/Correct
>Data, I guess.
>
>I have no $HOME/.gwyddion/ directory. Rather, I have a $HOME/gwyddion/
>directory, without point (actually C:\Users\[myname]\gwyddion).
>

Yes, the manual defaults to linux at some points. That is understandable.

>It contains the following subfolders:
>[.] [..] gwyddion.log [modules]
>[neuralnetwork]
>[plugins] recent-files settings [ui]
>
>No "pygwy" subfolder.
>
I think you get this after you install the python modules missing.

>So I tried several things:
>- creating the folder \gwyddion\pygwy and copying my script into it.
>- Replicating \gwyddion into \.gwyddion with the pygwy subfolder.
>- Copying my script into \modules\process
>



>That's pretty much about it.
>
>Besides, I can't find the Pygwy console, but as far as I understand,
>this is a common issue when using Gwyddion in Windows. As a matter of
>fact, it seems to me that using Gwiddion in Windows is not the best
>practice...
>

It should be OK as long as you use 32 bit

>Thanks in advance if anyone has time to help me.
>And many thanks for the program anyway, I find it very useful for my
>work.
>
>

Out of SPM data analysis it does tick all the boxes for me as well.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Loading...