Discussion:
[Gwyddion-users] Import Text File
Nicholas Fischer
2015-07-08 15:54:17 UTC
Permalink
Hello all,

I am trying to import .txt file into gwyddion.
The date is formatted like the following:

23.2, 23.432, 241
23.3, 74.2, 243


How would I formatted this to be able to be opened in gwyddion?

Thanks in advance.
Stefania Carapezzi
2015-07-08 16:33:03 UTC
Permalink
Hi. You should use Open File and select in it File Type: Raw data file.
Then a window will open, named Read Raw Data, in which you have to insert
resolutions for horizontal and vertical axes ( which corresponds to number
of rows and columns in your file), corresponding physical dimensions, and
z-scale per sample unit.
Best
Stefania Carapezzi

On Wed, Jul 8, 2015 at 5:54 PM, Nicholas Fischer <
Post by Nicholas Fischer
Hello all,
I am trying to import .txt file into gwyddion.
23.2, 23.432, 241
23.3, 74.2, 243
How would I formatted this to be able to be opened in gwyddion?
Thanks in advance.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gwyddion-users mailing list
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
Moriceau, Julien
2015-07-08 18:43:09 UTC
Permalink
Hello Nicolas,
You may also try to format your file as the following example (see below).

0 0 1
0 1 2
0 2 3
1 0 4
1 1 5
1 2 6
2 0 7
2 1 8
2 2 9

It usually works like that because I am not sure Gwyddion can open .txt file when there are comas.
Regards
--
Julien Moriceau


-----Original Message-----
From: Nicholas Fischer [mailto:***@creighton.edu]
Sent: Wednesday, July 08, 2015 11:54 AM
To: gwyddion-***@lists.sourceforge.net
Subject: [Gwyddion-users] Import Text File

Hello all,

I am trying to import .txt file into gwyddion.
The date is formatted like the following:

23.2, 23.432, 241
23.3, 74.2, 243


How would I formatted this to be able to be opened in gwyddion?

Thanks in advance.


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gwyddion-users mailing list
Gwyddion-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users
David Nečas (Yeti)
2015-07-09 07:02:52 UTC
Permalink
Post by Nicholas Fischer
I am trying to import .txt file into gwyddion.
23.2, 23.432, 241
23.3, 74.2, 243
How would I formatted this to be able to be opened in gwyddion?
It depends on what these values mean. I wonder if it is XYZ data, an
unsual formatting of a plain data matrix, set of curves, or something
else.

Raw data are best loaded by expanding the the data type selector at the
bottom of the file open dialogue and choosing the appropriate data type
(do not forget to set the data type back to auto when no longer needed).
The format of raw data may be detected automatically in some cases but
generally it is not.

I modified the raw XYZ data import to load comma-separated data, but I
do not even know if your data are XYZ.

Regards,

Yeti

Loading...