I am also working a lot with my data in python, and in the end chose to write to the BCR format used by SPIP and also opened by Gwyddion. Mainly because the format specification is fairly simple and well described:
http://www.imagemet.com/WebHelp/spip.htm#bcr_stm_file_format.htm and because it can be opened in several AFM packages, and is reasonably efficient (the data is stored in binary). Although the format does assume regularly sampled data in a rectangular array. The format primarily assumes topographic data, but I abuse it for also storing phase, errors etc. Having said that I may later switch to the Gwyddion native format as I'd like to have all my data channels for one scan stored in a single file (the instrument is bespoke and hence we can choose how to package our data). Regards, Mark -- Mark S. Bentley ([email protected]) Institut für Weltraumforschung (IWF), Graz, Austria Phone: +43 (316) 4120-657, Fax: +43 (316) 4120-490 http://www.iwf.oeaw.ac.at/ On 30/03/11 11:50, David Necas (Yeti) wrote: > On Wed, Mar 30, 2011 at 11:39:06AM +0200, Sloan Lindsey wrote: >> My simulation yields point samplings on the surface in the form of (x,y,z) >> where x,y,and z are floating point numbers and they are currently expressed >> in ascii plain text. The sampling is non-uniform though it is trivial for me >> regrid the data. >> Can anyone point me in the right direction to generate a simple file the >> Gwyddion can use, > If you can express the data in a regular grid then it should be easy: > use GSF > > http://gwyddion.net/documentation/user-guide-en/gsf.html > > If you want a text format see this recent discussion > > > http://sourceforge.net/mailarchive/forum.php?thread_name=20110327192925.GD5404%40physics.muni.cz&forum_name=gwyddion-users > > Yeti > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Gwyddion-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gwyddion-users
