wheel (GHA via nightly.link
)
wheel (GitLab)
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 . 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 intomatplotlib
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. . -
.palettes
- A convenient importer for palettes. You may prefer to use it instead ofcolors
.
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. .
-
.NTMDTReaderTSV
- Reads TSV file exported byNova
orImageAnalysis
. The license is Unlicense. . -
examples/
- obviously, contains some usage examples-
show.py
contains a very stupid example of a viewer. It loops over all the mdt files in the dir and tries to show them. -
matplotlibColorMapConvert.py
converts matplotlib colormaps to the format available for ImageAnalysis/Nova.- matplotlib.pal. The license of this file is the same as the one matplotlib has.
- colorcet.pal. The license of this file is the same as the one colorcet has.
- cmocean.pal. The license of this file is the same as the one cmocean has .
- cmclimate.pal. The license of this file is the same as the one cmclimate has .
- cmasher.pal. The license of this file is the same as the one cmasher has .
- vapeplot.pal. The license of this file is the same as the one vapeplot has .
- seaborn.pal. The license of this file is the same as the one seaborn has .
- proplot.pal. The license of this file is the same as the one proplot has .
- cmcrameri.pal. The license of this file is the same as the one cmcrameri has .
- cmastro.pal. The license of this file is the same as the one cmastro has .
-