Difference: SerialEMMacros (13 vs. 14)

Revision 1419 Aug 2010 - Main.KenNguyen

 
META TOPICPARENT name="SerialEM"
Contents

SerialEM Macros

  • Following macros can be added by cut-and-paste into SerialEM Macro Editor

Auto Collection of many tomograms

  • Need to have mid-mag montage (1700x or higher) of area of interest
  • best to do whole grid montage, mark points, do small polygon montage centered around each point
  • add points to mid-mag montages, and mark as Acquire
  • Filename for each point must be put in Navigator Note
  • script will fail if it tries to overwrite pre-existing files
  • Need to have already set up tiltSeries Autostart
  • Autostart Policies also need to be checked -- in general, choose to fail and go on to next in case of problems
  • Roll buffers should be M or lower (image stored in O should be at least 2 from last rolled buffer)
Changed:
<
<
#this part is to make sure that things stay aligned after doing eucentric adjustments ChangeMag? -2 #down 2 clicks in mag
>
>
ReportNavItem? #get info from Navigator RealignToNavitem?
Deleted:
<
<
T #Trial image copy A O #store in buffer O -- roll buffers should be M or lower
 Eucentricity 6 #Fine eucentric and realign
Deleted:
<
<
T AlignTo? O ChangeMag? 2 #back to original mag
 # now do the tilt series:
Changed:
<
<
ReportNavItem? #get info from Navigator
>
>
WalkupTo? 70 #may not need this
 OpenNewFile? $NavNote #filename stored in Note Tiltseries #Need to have already set up all params! CloseFile?
Changed:
<
<
>
>
TiltTo? 0
 

Random Conical Tilt

  • following macro is for collecting tilt pairs, first at 50 deg, second at 0 deg
  • All images saved into a single stack
# RCT macro
# need to be in SerialEM lowdose mode
# should already have file opened for writing
#should have already done a eucentric fine adjustment on the square
# should have set defocus target to desired number
# Roll Buffers should be at M or less
# Uses buffers N,O,P

T #take a trial
copy  A O
WalkUpto 50 #EDIT angle as desired!
T
ResetImageShift
T
AlignTo B   
L     #preview
copy A N
Delay 10   # seconds
G               #autofocus
G
L
AlignTo N
   
R             #Record
S             #save
copy A P  # store in P buffer. At end of macro, can alternate between tilted/untilted with HOME/END keys

WalkUpto 0
ResetImageShift
Delay 10
G
G
T
AlignTo O
R
S

Center Hole

  • Following macro will center based on an image stored in the "N" buffer
# Should be in SerialEM Low dose mode
# Should have an image open for writing
# View should be set up so that it has only one hole, centered, taking up most of the frame
# Buffer N should have a View image of a well-centered hole
# Roll Buffers set to M or less
V
AlignTo N   
ResetImageShift
Delay 10 # seconds. Stage settling time
V
AlignTo N  # final alignment, will have small image shift
G       #autofocus
G       # repeat
R
S

  • Set ALLOWTOPICVIEW =

-- BillRice - 05 Mar 2010

 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this intranet, Send feedback