Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load an approach curve from Bruker Icon #30

Closed
Valentinfonck opened this issue Jan 2, 2023 · 5 comments
Closed

Unable to load an approach curve from Bruker Icon #30

Valentinfonck opened this issue Jan 2, 2023 · 5 comments

Comments

@Valentinfonck
Copy link

Valentinfonck commented Jan 2, 2023

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
Copy link
Owner

scholi commented Jan 7, 2023

Hi,
What is the output of

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

@Wang-stables
Copy link

Wang-stables commented Feb 22, 2023

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
Copy link
Owner

scholi commented Mar 5, 2023

.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
Copy link

Wang-stables commented Mar 6, 2023 via email

@Wang-stables
Copy link

Wang-stables commented Mar 7, 2023 via email

@dineshpinto dineshpinto closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants