Author: Maofu Liao

SamViewer is a 2D image display and analysis program, specifically designed for single-particle EM.
SamViewer is written in wxPython, using Python Image Library(PIL) and Numpy.
SamViewer works on both Linux and Windows, but is not yet tested on Mac due to the difficulties of installing the required libraries.

SamViewer Questions and Answers

A Quick Start Guide (SVqsg.pdf) and other useful information are in Documentations.

For support, feedback and bug reports, please email author.


Get SV:

SamViewer is licensed under the terms of the GNU Public License version 3 (GPLv3).
Download links are at the bottom of this page.


Install SV:

  1. Make sure you have python, wxPython, Python Image Library(PIL) and numpy
  2. Extract the downloaded file to any folder, and include that folder in your system PATH.
  3. Type “sv” or “sv 1” to enter mode 1, “sv 2” to mode 2, etc.
  4. With the later version of PIL (Pillow), if you cannot open MRC or DM3 files, do the following:
    (1) Locate the PIL folder, which usually looks like "/usr/lib/python2.7/dist-packages/PIL/".
    (2) Open the file "" with any editor, and you will see a list of plugin names.
         Insert two new plugin names ('', 'MrcImagePlugin') into the list.
    (3) Copy three files (,,
         from the SamViewer folder into the PIL folder.


Four SV modes:

  1. Image Display to browse and analyze images;
  2. Particle Picking to mark the particle positions;
  3. Montage Screening to view and screen image stacks;
  4. Dual Viewer to analyze RCT and tilt pairs.