Project

General

Profile

Using Gatan K2 Summit in Leginon » History » Version 7

Anchi Cheng, 07/19/2013 11:20 AM

1 4 Anchi Cheng
h1. Using Gatan K2 Summit in Leginon
2 1 Anchi Cheng
3 4 Anchi Cheng
The main use of K2 Summit is in Counted or Super-resolution mode in combination with dose fractionation (frame saving).
4
5 1 Anchi Cheng
If you want to use DM's dose fractionation, activate the "save frames" check box in the particular preset camera configuration.  You can also use DM's frame alignment algorithm by activating "align frames" check box, but the latter is not recommended since the alignment in DM will delay the return of the image to Leginon and therefore affects throughput greatly.
6
7 2 Anchi Cheng
h2. Configuration
8 1 Anchi Cheng
9 2 Anchi Cheng
# Make sure your camera configuration is set to [[Leginon image orientation]] and instruments.cfg matches that resulting orientation and dimension.
10 4 Anchi Cheng
** This is likely 270 degree rotated with a flip. New version of DM can acquire its internal darkware gain references in this configuration.
11 2 Anchi Cheng
# K2's dose fractionation (frame saving) only works with full camera dimension without binning.
12
# K2 interface in DM restricts the exposure time to multiple of some set number, depending on the mode.  When you enter in DM an invalid number, it automatically change it to the valid one when you click the acquire button.  pyscope/dmsem.py has hard-coded values for these precision. Compare them to the precision of the DM version you have since it may change with DM version.
13
# K2 frame exposure time is adjustable in Leginon gui.  However, you need to check if the number is acceptable by DM.
14
15 1 Anchi Cheng
h2. Preset Recommendation
16
17
See [[Pre-MSI_Set-up#Preset-Design-Example-for-small-pixel-Gatan K2 camera alone]]
18
19
h2. Calibrations
20
21
Most calibration and operation are similar to that of a typical digital camera.
22
23 4 Anchi Cheng
Leginon treats linear/counted/super-resolution modes of K2 Summit as three cameras.  Therefore, each needs its own calibrations.
24 1 Anchi Cheng
A python script is available to make the copying of the calibrations easier.  See message#1498.  You may need to modify it for different modes you are copying calibrations to.
25
26
h2. Gain/Dark Correction Handling
27
28
Leginon receives images from DM  without software gain correction.   This means gain correction is still needed in Leginon.
29
30 4 Anchi Cheng
h3. Counted/Super-Resolution mode
31 1 Anchi Cheng
32 2 Anchi Cheng
# The hardware correction has been applied in DM before counting.  Therefore, the "raw" image Leginon get are integers and roughly gain corrected.
33 4 Anchi Cheng
# The dark image in Leginon should always be 0.  Therefore, acquiring dark image only need to be done once per camera configuration.  There is also no need to average several images in the making.
34 7 Anchi Cheng
# The bright image acquired in Correction node should be taken at the dose rate to be used.  It should also be taken at close to the total exposure time such as 4-5 s, and a large number of images should be used to get an average image (For example, 20).  Alternatively, take a single very long exposure (100 s).  This will account for variation in sensitivity of the pixels.  There is likely a general gradient across the detector known as growth zone.
35 4 Anchi Cheng
* Movie frames recorded in dose-fractionation or frame-saving mode are "raw".  Appion will use the bright/dark/correction plan of the image transferred to Leginon to make corrected frame during [[appion:GainDark correction of the raw frame with or without drift correction|frame stack making]].
36 1 Anchi Cheng
37 4 Anchi Cheng
h3. Linear mode
38 1 Anchi Cheng
39 2 Anchi Cheng
# The dark image will have a large mean and the value changes with exposure time.  Ideally, the dark images should therefore be taken at the same exposure time as the later images to be corrected.  Leginon can account for small differences but not a full range.
40
# To avoid saturation by the accumulated dark current, long exposure in linear mode is not recommended.  0.5 s is typical.
41
# Do not use frame saving with linear mode.  It is not worth while.
42 1 Anchi Cheng
43 2 Anchi Cheng
h2. Operation
44 1 Anchi Cheng
45 7 Anchi Cheng
# Gatan recommends update hardware dark reference every day which is supposed to keep the normalization in counted/super-resolution mode stable.  This procedure is done through DM under "K2 Direct Detection".
46
** Set the mode to Counted (just in case).
47
** Click on the botton "Update HW Dark Reference".  It will take about 3 minutes  No beam required.
48 6 Anchi Cheng
# Typical frame saving preset parameters for counted/super-resolution: 0.2 s frame exposure time, 4-5 s total exposure time at 8-10 e/physical pixel/s (Some argue that 5 e/physical pixel/s is better).  You can use DM's reading of dose rate while it is in counted mode and *UNBINNed* to get a reasonable estimate.
49 2 Anchi Cheng
# Because of its small size, we have a modified [[MSI_Quick-start_for_DD_only|Quick-start procedure]] we use regularly at NRAMM FEI F20.
50
# /myami/rawtransfer.py should be run on the file server to transfer the raw frames as it is produced. See [[DDD_raw_frame_file_transfer]].  K2 frames are saved as mrc stacks.
51
# See [[appion:Direct_Detector_Frame_Processing]] for tools used for processing the frames.
52 1 Anchi Cheng
# To gain correct and align the frames, start parallel instances of Appion makeDDRawFrameStack.py See [[appion:GainDark correction of the raw frame with or without drift correction]].
53 6 Anchi Cheng
54
h2. Leginon functions that do not work with K2 camera
55
56
h3. General functions
57
# The dose matching tool in Preset Manager.  K2's exposure time is not fine grained enough to make small adjustment according to the small dose deviation.  You will have to use fixed exposure time and adjust beam intensity by hand to achieve the right dose.  We find out the equivalent screen reading from the microscope for the acceptable 8-10 e/physical pixel/s dose rate for the detector and make adjustment there.
58
59
h3. Frame saving camera functions
60
# The image returned to Leginon display is always integrated over all the frames with K2 summit camera.  Selection of frames to use as in DE series does not work here.
61
# Readout delay is not adjustable on K2.  Leave it at 0.
62 2 Anchi Cheng
63
h2. Clean up
64
65
Frame saving generates a lot of files during acquisition and during processing.
66
67 5 Anchi Cheng
# python script in leginon directory "cleanddraw.py" can help you clean up the transferred raw frames when you start to run out of disk space.  See Feature #1784 for more details.
68 2 Anchi Cheng
# Selective removal of aligned frame stack in Appion runs is still to be written.