SerialEM HowTo: Align to Hole

Chen Xu

$BrandeisEM: ~emdoc-xml/en_US.ISO8859-1/articles/SerialEM-howto:align-to-hole/article.xml 1 2014-10-03 09:28:11 xuchen Exp$

This is almost a frequently asked question: can SerialEM use a hole template to align the position to each hole center, just like Leginon?

Well, as with current version, beta or release, SerialEM hasn't implemented hole searching as Leginon and EPU. However, with one of the most important functions autoalign, using a hole template to help positioning each hole to the center is a very easy job.

In this document, I try to show you how to do it using macros of SerialEM. It demonstrates how powerful and flexible the macro can provide.

You can also get pdf version of this document here.


Table of Contents
1 The Background
2 Macro AlignToP
3 Integrate macro AlignToP into main macro

1 The Background

First of all, SerialEM doesn't require specimen to have holes. As long as point items are added to a map, realign funtion will bring the the stage to each of the points, regardless the point is the middle of a hole or simply a spot on continous speimen such as continuous carbon film. Please refer to the SerialEM-howto:positioningXY for the details.

Certainly, if the specimen grid is holey based like Quantifoil or C-flat grid, one might just want the center of the holes to be targets. Therefore, one of the preparation tasks is then to add hole center as point items onto a map. There are a few ways to add point items. One is to quickly add a single or a group of holes by clicking on Add Points button on Navogator dialog window. The other ways it to add many point items by Draw Grid Point.

However, it might not be as easy as one hopes to make the point to the center of the holes VERY accurately. There are a couple reasons. The map may be at a relative low mag, so to click right in the middle of each hole can be quite some effort. And if the map is composed by a montage where there is stage position offset between montage pieces, the Draw Grid Point method can cause points being systematically off at different pieces. In those two cases, one might need to use a hole as template to refine the final hole position after realigning to the point item close to the hole.

The idea is simple. Take a centered hole using sub-area of a camera and save it to a buffer as reference. After realign procedure, align the center area at current stage location to the reference and move stage to the hole center.