Forums
Bruker Media
Community Media
Bruker AFM Probes
SPM Digest
Application Notes
NanoTheater
Website
中文
Brochures & Datasheets
Publications
Probes Catalog
Events
Manuals & Documentation
Presentations
Guide to AFM Modes
News
Journal Club
Webinars & Video
Nanovations
Other
I wonder if anyone can help me with explaining the [Data] field in .flt files. Or else, point me to the right resource.
Thank you very much.
Hi lgc,
I think you are maybe not reading the data description correctly. We do not store xyz data but rather z data (or any other quantity an AFM can measure). The xy locations can be recreated from the information in the header file, i.e. scan range, # of data points. Maybe this short example helps shedding light onto the subject:
The actual data is float binary raw data. The data is a 2D array looks like data[.. , ..].
For example:
[Data Parameters]
DataOffset= 865
ResolutionX=128
ResolutionY=128
[Data}
This is the actual array like data[128, 128].
In the C you would be reading the array ‘data[128, 128]’ directly from the file (opened in binary mode) starting from file pointer =865 bytes.
I am really not sure what you mean by that question. I did post the description of the data format earlier. The header states the descritption of the data that follow. Each data point is the represented as a floating point value. Now, representing data points as floats might be unusual as they were historically just 16bit integer values. We went to floats as this allowed us to cover more dynamic range.
I hope that helps,
Stefan
Stefan, Thank you for your input. As I mentioned earlier, in the file explaining the format you attached there is an explanation to almost everything in the header. However, there is no explanation (except for "...") for the bulk of data; that is, beyond [Data]:
I am looking for something like 'float, float, float,"\n"' (in C jargon) corresponding to x,y,z and the newline character, respectively, for example. Or 'int, double, double, double", or anything along these lines. What I need is to process these values in order to calculate fractality and roughness, among other things.
I'm all ears. Regards.
There you are!
Much better so!
Thanks a lot . .
No problem. Good luck with the programming.