Discussion:
[Gwyddion-users] Data handling
Raics Péter
2017-02-27 23:36:39 UTC
Permalink
Hi,

I am a beginner in using the impressive Gwyddion (version 2.47) with
Windows.

1) I should like to move data from Gwyddion to ASCII .txt and back.
To .txt it is not a problem according to the documentation but the
reverse direction is not listed in it.
It is really not possible?

2) Many good functions are available in G.
2D FFT is interested me. How can I save its results in any format, eg.
.txt for further use outside G?

3) Generally: is there any direct data connection with Excel?


Thanks for the help:
Peter
Daniil Bratashov
2017-02-28 04:02:06 UTC
Permalink
For import you can use Raw file import:
http://gwyddion.net/documentation/user-guide-en/raw-file-import.html

For export of any results that are shown as datafield you can use ASCII
export from usual save dialog window.

If you need more advanced dataflows, there is Python interface, called
Pygwy: http://gwyddion.net/documentation/user-guide-en/pygwy.html
It can use any of gwyddion functions and allow to do with data whatever
python can do. If you need to store or load excel data, you can use pandas
library to connect with Excel and pygwy to connect with Gwyddion.

WBR, Daniil Bratashov.
Post by Raics Péter
Hi,
I am a beginner in using the impressive Gwyddion (version 2.47) with
Windows.
1) I should like to move data from Gwyddion to ASCII .txt and back.
To .txt it is not a problem according to the documentation but the
reverse direction is not listed in it.
It is really not possible?
2) Many good functions are available in G.
2D FFT is interested me. How can I save its results in any format, eg.
.txt for further use outside G?
3) Generally: is there any direct data connection with Excel?
Peter
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
Andrés Muñiz Piniella
2017-02-28 07:43:47 UTC
Permalink
El 28 de febrero de 2017 04:02:06 GMT+00:00, Daniil Bratashov at are shown as datafield you can use ASCII
Post by Daniil Bratashov
export from usual save dialog window.
python can do. If you need to store or load excel data, you can use pandas
library to connect with Excel and pygwy to connect with Gwyddion.
WBR, Daniil Bratashov.
On Tue, Feb 28, 2017 at 3:36 AM, Raics Péter
Post by Raics Péter
3) Generally: is there any direct data connection with Excel?
If you save/rename the txt file as a csv, excel will open it.
--
Andrés
David Nečas (Yeti)
2017-02-28 07:56:55 UTC
Permalink
Post by Raics Péter
1) I should like to move data from Gwyddion to ASCII .txt and back.
To .txt it is not a problem according to the documentation but the
reverse direction is not listed in it.
It is really not possible?
Just do Save As and give ‘whatever.txt’ as the file name.
Post by Raics Péter
2) Many good functions are available in G.
2D FFT is interested me. How can I save its results in any format, eg.
.txt for further use outside G?
3) Generally: is there any direct data connection with Excel?
LibreOffice Calc opens the .txt files created by Gwyddion just fine. I
do not have Microsoft Excel, but it should be able to open plain text
files too.

Anyway, I would say doing 2D FFT in Gwyddion and then moving the data
to Excel sounds like a bit odd workflow to me. What image processing do
you need to do in Excel that Gwyddion cannot do [better]?

Regards,

Yeti

Loading...