Project

General

Profile

Actions

Using Gatan K2 Summit in Leginon » History » Revision 5

« Previous | Revision 5/31 (diff) | Next »
Anchi Cheng, 05/29/2013 05:07 PM


Using Gatan K2 Summit in Leginon

The main use of K2 Summit is in Counted or Super-resolution mode in combination with dose fractionation (frame saving).

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.

Configuration

  1. Make sure your camera configuration is set to Leginon image orientation and instruments.cfg matches that resulting orientation and dimension.
    • This is likely 270 degree rotated with a flip. New version of DM can acquire its internal darkware gain references in this configuration.
  2. K2's dose fractionation (frame saving) only works with full camera dimension without binning.
  3. 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.
  4. K2 frame exposure time is adjustable in Leginon gui. However, you need to check if the number is acceptable by DM.

Preset Recommendation

See Pre-MSI_Set-up

Calibrations

Most calibration and operation are similar to that of a typical digital camera.

Leginon treats linear/counted/super-resolution modes of K2 Summit as three cameras. Therefore, each needs its own calibrations.
A python script is available to make the copying of the calibrations easier. See RE: Super resolution format unavailable to calibrate matr.... You may need to modify it for different modes you are copying calibrations to.

Gain/Dark Correction Handling

Leginon receives images from DM without software gain correction. This means gain correction is still needed in Leginon.

Counted/Super-Resolution mode

  1. The hardware correction has been applied in DM before counting. Therefore, the "raw" image Leginon get are integers and roughly gain corrected.
  2. 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.
  3. The bright image acquired in Correction node should 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. This will account for variation in sensitivity of the pixels. There is likely a general gradient across the detector.
    • 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 frame stack making.

Linear mode

  1. 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.
  2. To avoid saturation by the accumulated dark current, long exposure in linear mode is not recommended. 0.5 s is typical.
  3. Do not use frame saving with linear mode. It is not worth while.

Operation

  1. Typical frame saving preset parameters: 0.2 s frame exposure time, 4-5 s total exposure time at 8-10 e/pixel/s (Some argue that 5 e/pixel/s is better).
  2. Because of its small size, we have a modified Quick-start procedure we use regularly at NRAMM FEI F20.
  3. /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.
  4. See Direct_Detector_Frame_Processing for tools used for processing the frames.
  5. To gain correct and align the frames, start parallel instances of Appion makeDDRawFrameStack.py See GainDark correction of the raw frame with or without drift correction.

Clean up

Frame saving generates a lot of files during acquisition and during processing.

  1. 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.
  2. Selective removal of aligned frame stack in Appion runs is still to be written.

Updated by Anchi Cheng about 11 years ago · 5 revisions