How to import JPK force maps?

13 Ansichten (letzte 30 Tage)
David Vondrasek
David Vondrasek am 8 Jan. 2020
Hello,
I am trying to import force maps data from JPK and I could not find any clue on how to begin. Could anyone help me with how I could import raw data from force map files? Any hints and ideas are appriciated. My plan is to fit the data myself in Matlab as the available programs do not offer good fitting methods. I have compressed a JPK force map file in .zip, so I could attach it here.

Antworten (1)

Roberto Diego Ortuso
Roberto Diego Ortuso am 15 Jan. 2020
Hello David,
Thank you for your email. I am awnsering here as this might be of help to others in the future.
JPK has a proprietery way to store data, however the jpk-force-map extensions are actually zip files. If you extract it you see that it is a collection of data with header (please look at the variable "filelist" once you run the code below).
This is an initial part of the code (I only got untill here, sorry, I stopped developing it any further for now)
zipJavaFile = java.io.File(complete_path_to_afmForceMap_file);
zipFile = org.apache.tools.zip.ZipFile(zipJavaFile);
entries = zipFile.getEntries;
filelist={};
while entries.hasMoreElements
filelist = cat(1,filelist,char(entries.nextElement));
end
Off the top of my head, I guess the next step would be to unzipp the file, which should generate a big ammount of data in comparison.
Then, following the filelist variable, select and merge what you need from the structs (??) it creates.
In reguards to your question, yes I am planning to release a new version able to open force maps, unfortunately I do not know when this will be (could take a while).
  1 Kommentar
matteo chighizola
matteo chighizola am 24 Jul. 2024
Hello Roberto,
I am an experimental physicist specialized in development of AFM techniques for nanomechanics.
Recently I moved in a new department where they posses a Nanowizard III from jpk (before I was working with Bruker Catalyst AFM) .
I have found your function for exporting jpk data to matlab format. It would be awesome to use it indeed I work with matlab since my graduation and all my functions are written in matlab.
Unfortunately the function I have downloaded works but it does not recognize the .jpk-force files from the directory: it sees them but they remain "uncliccable" like they posses the wrong file format (even thou they are force curves).
I am working with a mac.
Is by any chance the possibility you know how to help me? I have seen that the last modification is from 2020.
I thank you in advance for your time!
All the Best
Matteo

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by