quantitativeTEM / StatSTEM

GNU General Public License v3.0
47 stars 25 forks source link

How to load raw data? #1

Closed thomasaarholt closed 6 years ago

thomasaarholt commented 7 years ago

The tutorial is excellent, but leaves a glaring hole for users who wish to apply StatSTEM to their own data. How do I import my own data?

It would be nice if StatSTEM could make use of pre-existing code for importing the common formats for STEM, for instance Gatan's .dm3/.dm4 or the TIA .ser.

Barring that, a simple instruction for the formatting of either the .mat or .txt files would be much appreciated.

karelvandenbos commented 7 years ago

Dear Thomas,

Thank you for downloading the StatSTEM software and using the tutorial.

We have implemented a SER-reader for TIA files in the latest version of StatSTEM, version 2.1. For Gatan's .dm3/.dm4 files, a reader will follow in a future release of StatSTEM. For now, when opening in digital micrograph your image, you can save them as a text file. This file is suitable for StatSTEM.

Another option is to use one of the existing readers from the Mathworks community to load raw data files. In a next step, when the file is loaded into MATLAB, you can save the variable containing the image as a .mat file. This file can directly be loaded into StatSTEM

We hope this helps

hentr commented 7 years ago

Being able to load .tif files would also be nice.

karelvandenbos commented 7 years ago

Thank you for the suggestion, we will include this in the next version (2.2)