Comments (1)
Hi Shohini,
① Some ITA files differs in the content. This is specially true if you use the latest version of iontof. This might the reason why some data are not found by the library. If you can send me the data, then I can see what is wrong. Otherwise it will be tricky for me to guess what is the exact problem.
You can nevertheless do the calibration yourself. You can retrieve the time and intensity and perform the calibration yourself. For this purpose, use the method get_spectrum. You can provide a sf and k0 arguments which are the mass calibration parameters. You can also retrieve the time instead of the mass with time=True. Then look for the times of known peaks, such as H, C, CH, CH₂, CH₃, ... and perform a least square in order to find the exact mass calibrations parameters. You will find more details on the mass calibration on the wiki: https://github.com/scholi/pySPM/wiki/Mass-calibration
② Your error seems to be related to matplotlib. Which version do you have?
import matplotlib
print(matplotlib.__version__)
I use 2.1.0. If you have a lower version, try to upgrade it. WIth pip for ex.:
pip install --upgrade matplotlib
③ Yes you can reconstruct the data. Did you have look at the doc ? : https://nbviewer.jupyter.org/github/scholi/pySPM/blob/master/doc/pySPM%20Documentation.ipynb#SI-image-reconstruction
For that you need the ITM file (not the ITA) and then give the list of peaks with lower, upper mass given as a tuple. You should also pass the mass calibration parameters: sf and k0 as argument.
Let me know if this works.
from pyspm.
Related Issues (20)
- Issue with median of differences correction HOT 2
- "li" variable not defined in ITM.py HOT 6
- reuse file format reader in afmformats HOT 3
- Defining regions of interest (ROI) HOT 2
- Nonsquare scans Bruker files (.spm) HOT 5
- SurfaceLab7 .itax & .itm file support HOT 8
- lower case augment support for get_channel() struct.error: unpack requires a buffer of 369664 bytes HOT 1
- Error when opening an ITM File generated by Surface Lab 7 HOT 2
- Bruker spm format: request for explanantion of overall scale computation HOT 1
- Question: basic plotting code HOT 1
- Controlling image axix label size font type..etc HOT 1
- Unable to load an approach curve from Bruker Icon HOT 5
- Error while using correct_lines/ correct_slope on .spm- (Bruker-) data with different x-,y-dimension HOT 2
- Unable to read a SXM file from Nanonis HOT 11
- get_channel does not work for specific afm channel - value error HOT 11
- Bruker get_channel floating point parsing error HOT 6
- Need Engage X and Y Pos info HOT 2
- get_channel("Height") issue HOT 12
- show_summary can't find funit HOT 1
- Example files not available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyspm.