Code Monkey home page Code Monkey logo

pymdt's Introduction

Just fixing what I need

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.

Status: Archived

This repository has been archived and is no longer maintained.

status: inactive

NT-MDT Python library

What is it ?

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.

Right now it can :
  • 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)
Next I will add :
  • 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
I will most likely not add
  • 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)
I will not add
  • 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...)

Prerequisites

  • Python >= 3.6
  • numpy >= 1.13.1

Authors

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

License

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

Acknowledgments

David Necas (Yeti) and Petr Klapetek for written the Gwyddion nd-mdt module

pymdt's People

Contributors

symartin avatar lostcorgi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.