scholi / pySPM

Python library to handle Scanning Probe Microscopy Images. Can read nanoscan .xml data, Bruker AFM images, Nanonis SXM files as well as iontof images(ITA, ITM and ITS).
Apache License 2.0
58 stars 33 forks source link

Unable to load an approach curve from Bruker Icon #30

Closed Valentinfonck closed 11 months ago

Valentinfonck commented 1 year ago

Hi scholi,

Thank you for your very handy library. I have been trying to use it on approach-retract curve for AFM and I've been running into troubles. Is this feature already implemented ?

List of channels empty when importing an approach curve While the creation of the object works, the library writes down an empty list of channels when loading the spm file of an approach curve of a Bruker Icon Dimension (using the ramp option in the dedicated software.

meas = Bruker(path); meas.list_channels(); data = meas.get_channel();

Expected behavior I'm trying to recover this kind of data test_image

Information: Windows 10 64bits Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] pySPM 0.2.23 numpy 1.20.1 scipy 1.6.2 matplotlib 3.3.4

scholi commented 1 year ago

Hi, What is the output of

meas = Bruker(path)
meas.list_channels()
data = meas.get_channel(channel_name)
Wang-stables commented 1 year ago

Hello, Also have the same problem, actually I don't know how to open the .spm file with pySPM because the example show on documentation only introduce the .ita file And for the code below: meas = pySPM.Bruker("CaptureFile.0_00667.spm") meas.list_channels() the output is below: Channels "========"

just like above(I use quote to make the == part won't be the format as github wish)

scholi commented 1 year ago

.spm is not a Bruker file format, so you cannot use the Bruker module to load it. Unfortunately many instruments are using the spm extension: http://gwyddion.net/documentation/user-guide-en/file-formats.html Could you tell me which one?

Wang-stables commented 1 year ago

Thank you for your asking, I'm asking others if they know the true format is, because I can't sure about this.

Olivier Scholder @.***> 於 2023年3月6日 週一 上午5:44寫道:

.spm is not a Bruker file format, so you cannot use the Bruker module to load it. Unfortunately many instruments are using the spm extension: http://gwyddion.net/documentation/user-guide-en/file-formats.html Could you tell me which one?

— Reply to this email directly, view it on GitHub https://github.com/scholi/pySPM/issues/30#issuecomment-1455215937, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3SVF5Y24OXP3E7V3PWUJSTW2UCMZANCNFSM6AAAAAATO2SWSM . You are receiving this because you commented.Message ID: @.***>

Wang-stables commented 1 year ago

Ok, they tell me that we are using Veeco ll and Veeco lll, also we usually use the nanoscope analysis 3.00 for analysis. Again, thank you for sending the email for discussion.

我想匿名我想匿名 @.***> 於 2023年3月6日 週一 下午3:21 寫道:

Thank you for your asking, I'm asking others if they know the true format is, because I can't sure about this.

Olivier Scholder @.***> 於 2023年3月6日 週一 上午5:44寫道:

.spm is not a Bruker file format, so you cannot use the Bruker module to load it. Unfortunately many instruments are using the spm extension: http://gwyddion.net/documentation/user-guide-en/file-formats.html Could you tell me which one?

— Reply to this email directly, view it on GitHub https://github.com/scholi/pySPM/issues/30#issuecomment-1455215937, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3SVF5Y24OXP3E7V3PWUJSTW2UCMZANCNFSM6AAAAAATO2SWSM . You are receiving this because you commented.Message ID: @.***>