Just wanted to fix this numpy reshape issue with the MDA 2D files since I clone this repo in colab and don't want to replace the file there.
This repository has been archived and is no longer maintained.
This library is a tentative to read the *.mdt files generated by Nova-PX software used but the NT-MDT AFM/MFM/Raman instrument. However, for the moment it is really in an alpha state.
- read the header of the file
- read the header of any standard frame
- (experimental) read the text frame
- read the MDA frame
- 2 dimensions, 1 mesurand the AFM/MFM frame (2D/color map)
- 1 dimension, 1 mesurand (or 2 mesurands) curve, except if the x axis is stored in the XML metadata (in this case put an arbitrary x axis)
- a nice package with __init__.py and stuff like that -- low priority
- support of the STM frames (MDT_FRAME_SCANNED)
- maybe support of the new curve frame MDT_FRAME_CURVES_NEW (but I don’t have any file to work with)
- put a doc and some examples
- support the old 1D MDA curve where the x-coordinates are hid in the XML metadata (come on, why somebody would hide data information in the metadata)
- Support for old MDA frame because it is not really used anymore.
- Support for the palette frame (I don’t know the specs and I clearly don’t want spending time on something that nobody use...)
- Python >= 3.6
- numpy >= 1.13.1
Sylvain Martin for the python code. The file specifications are from Gwyddion a software for SPM (scanning probe microscopy) data visualization and analysis. And more specifically from the nt-mdt file module nt-mdt.c written by David Necas (Yeti), Petr Klapetek
This project is licensed under the GPL Licence - see the LICENSE.md file for details
NT-MDT and Nova-PX are trademarked by NT-MDT SI
David Necas (Yeti) and Petr Klapetek for written the Gwyddion nd-mdt module