Skip to content

Instantly share code, notes, and snippets.

View wiai's full-sized avatar

Aimo Winkelmann wiai

View GitHub Profile
@wiai
wiai / ctfFile3.py
Last active July 4, 2018 10:32
Read CTF files with Python 3.x, modified from https://github.com/ppinard/ebsdtools
#!/usr/bin/env python
"""
================================================================================
:mod:`ctfFile` -- Reader of CTF file
================================================================================
.. module:: ctfFile
:synopsis: Reader of CTF file
.. inheritance-diagram:: ebsdtools.hkl.tango.ctfFile
# This file is part of VISVIS. This file may be distributed
# seperately, but under the same license as VISVIS (LGPL).
#
# images2gif is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# images2gif is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of