ricounet67 / DM3Viewer

Simple PyQt application to view and export DM3 files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DM3Viewer

DM3Viewer is a simple PyQt application to view and export DM3 files.

DM3 files are produced by Digital Micrograph, an image processing program produced commercially by Gatan. I have tried to make the program as reliable as possible but I can not guarantee that the program works well with all (or any) DM3 files because (i) I did it for my own personal use, not to be a "professional" package and (ii) the DM3 file format is not published by Gatan. Said that, if you find that it fails with a given file you can send it to me and maybe I can make it work.

Version history

  • Version 0.1.0 (Feb 05, 2018).

Digital Micrograph file format

The file format for DM3 files is not published by Gatan and Digital Micrograph is an expensive package. Hence, people working with TEM/SEM images have to pick between buying it (not always possible and never pleasant :-)), just export the images to other formats (undesirable because a lot of information is lost) or find a way of reading it (a complicated task). For this reason I have created DM3Viewer and publish it in the hope that it can be useful to others as well.

Credits

The script that parses .dm3 files in DM3Viewer is based on Python DM3 Reader, developed by Pierre-Ivan Raynal. Python DM3 Reader, in turn, is based on the DM3_Reader plug-in for ImageJ that was developed by Greg Jefferis. In addition, I have also taken a peek at the MatLab script DM3Import (borrowing the example DM3 files) and heavily consulted the excellent information available here:

Finally, the scripts for producing the Windows installer are borrowed from OpenFilters.

Requirements

  • Python (>=2.7)
  • Numpy (>=1.0.3)
  • Scipy (>=0.5.2)
  • Qt (>=4.2.3)
  • PyQt (>=4.2.3)
  • Matplotlib (>=1.5.0)

Installation

Linux:

  • Select the appropiate file (.deb or .rpm) and install using the package manager of your distribution.

Windows:

  • Run the installer and follow the instructions.

All:

  • You can also use Python to execute the file viewdm3.py contained in sources. In that case, you need to satisfy all the requirements listed above.

License

GPL v3+

About

Simple PyQt application to view and export DM3 files

License:GNU General Public License v3.0


Languages

Language:Python 98.5%Language:Makefile 1.5%Language:Shell 0.0%