Giter Club home page Giter Club logo

ntmdtread.py's Introduction

NTMDTRead

wheel (GHA via nightly.link) wheel (GitLab) PyPi Status GitLab Build Status GitLab Coverage GitHub Actions Libraries.io Status Code style: antiflash

An unofficial set of tools to read the files produced by NT-MDT® software.

Different parts of this module are licensed differently. See ./.reuse/dep5 for more info.

  • .NTMDTReader - Reads .mdt file format. Not very ready: some files are not read at all, some are read incorrectly, some frames are not yet implemented. But for large share of files it works pretty fine. Since it is based on the Kaitai Struct description reverse-engineered from gwyddion implementation, it is licensed on the terms of GNU General Public License v3. I'm sorry for that I'm too lazy to black box reverse engineer it from scratch entirely.

  • .colors - Reads .pal palette files and transforms them into matplotlib colormaps. Also allows transforming matplotlib colormaps into NT-MDT format for using them in the original software. The format parsing code is based on the Kaitai Struct description. This submodule license is Unlicense. Unlicensed work.

  • .palettes - A convenient importer for palettes. You may prefer to use it instead of colors.

from NTMDTRead.palettes.Rainbows import Rainbow1
from NTMDTRead.palettes import Rainbows
import NTMDTRead.palettes.Rainbows

The names under NTMDTRead.palettes. are the names of *.pal files, and the names under them are the names of palettes in files. Its license is Unlicense. Unlicensed work.

ntmdtread.py's People

Contributors

kolanich avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ntmdtread.py's Issues

Project status and installation

Hello.

I am asking what is the current status of this project?
I am keen to use this library, and I am not sure what are the recommended installation process for this library. I tried the usual pip install -e . however, I got an error below

-> pip install -e .
Obtaining file:///C:/Users/at17/repos/NTMDTRead
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\at17\.conda\envs\sthm\python.exe' 'C:\Users\at17\.conda\envs\sthm\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\at17\AppData\Local\Temp\pip-build-env-uwik0ckn\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=44' wheel 'setuptools_scm[toml]>=3.4.3' 'kaitaiStructCompile.setuptools[toml]'
       cwd: None
  Complete output (8 lines):
  Collecting setuptools>=44
    Using cached setuptools-46.1.3-py3-none-any.whl (582 kB)
  Collecting wheel
    Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
  Collecting setuptools_scm[toml]>=3.4.3
    Downloading setuptools_scm-3.5.0-py2.py3-none-any.whl (26 kB)
  ERROR: Could not find a version that satisfies the requirement kaitaiStructCompile.setuptools[toml] (from versions: none)
  ERROR: No matching distribution found for kaitaiStructCompile.setuptools[toml]
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\at17\.conda\envs\sthm\python.exe' 'C:\Users\at17\.conda\envs\sthm\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\at17\AppData\Local\Temp\pip-build-env-uwik0ckn\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=44' wheel 'setuptools_scm[toml]>=3.4.3' 'kaitaiStructCompile.setuptools[toml]' Check the logs for full command output.

I checked that there are no kaitaiStructCompile.setuptools in the PYPI and you are an author of this package so you must be familiar with these projects. I have not seen this type of setuptools installation process before (I haven't used myproject.toml or config.cfg before) and so I am unable to to install this library.

In the meantime I will gut some codes out and test them since I am starting to work on some data from NT-MDT and I am keen to keep using python for this work.

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.