Gatan on Windows with semccddll » History » Version 1
Anchi Cheng, 02/02/2016 12:57 PM
| 1 | 1 | Anchi Cheng | h1. Gatan on Windows-32 with dmsem |
|---|---|---|---|
| 2 | |||
| 3 | dmsem module uses SEMCCD from distributed by SerialEM to communicate with Gatan software rather than tecnaiccd.dll |
||
| 4 | |||
| 5 | If using this on a computer different from the scope computer, please read [[Using_Leginon_on_a_system_where_the_microscope_and_camera_are_controlled_by_different_computers|this]] first. |
||
| 6 | |||
| 7 | h2. Extra Package and Installation |
||
| 8 | |||
| 9 | * Use all win32 version of Windows installer |
||
| 10 | |||
| 11 | * SerialEM DigitalMicrograph Plug-in |
||
| 12 | |||
| 13 | {{include(Install_SerialEM_DigitalMicrograph_plugin)}} |
||
| 14 | |||
| 15 | h2. instruments.cfg |
||
| 16 | |||
| 17 | Currently UltraScan and Orius camera are supported. |
||
| 18 | |||
| 19 | For UltraScan camera (US4000), set instruments.cfg to use GatanUltraScan class. For example: |
||
| 20 | <pre> |
||
| 21 | [us4000] |
||
| 22 | class: dmsem.GatanUltraScan |
||
| 23 | zplane: 50 |
||
| 24 | height: 4096 |
||
| 25 | width: 4096 |
||
| 26 | </pre> |
||
| 27 | |||
| 28 | h2. Setup |
||
| 29 | |||
| 30 | !camera_configuration.png! |
||
| 31 | * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. For example, we need flip around the vertical axis on FEI T12. Note that the rotation required is different if it is installed post-GIF and/or on Krios. |
||
| 32 | * Set the [[Low_dose_shutter_configuration_for_Gatan_camera_in_Digital_Micrograph_program|shutter configuration in DM]] to protect the specimen when camera is not taking images. |
||
| 33 | |||
| 34 | h2. (Version 3.2) Define local configuration in dmsem.cfg |
||
| 35 | |||
| 36 | # Copy from your myami checkout pyscope/dmsem.cfg.template to C:\Program Files\myami\dmsem.cfg |
||
| 37 | # Make changes to the configured value in dmsem.cfg |
||
| 38 | |||
| 39 | Most parameters are explained above. |
||
| 40 | |||
| 41 | * *The config parser takes "'" and "\" literally*. Therefore, do not include "'" in DM_VERION. In addition, the path separator should be "\" |
||
| 42 | * *CAMERA_ID* is usually 0 if it is the only Gatan camera. |
||
| 43 | * *Ultrascan camera should be configured under utrascan module, and Orius camera should be configured under orius module. |
||
| 44 | |||
| 45 | For example, only UltraScan camera exists on this computer that has Digital Micrograph version 2.32.788.0, and DM camera configuration |
||
| 46 | has vertical flip but no rotation, then set the dmsem.cfg ultrascan module like this: |
||
| 47 | <pre> |
||
| 48 | [dm] |
||
| 49 | DM_VERSION = 2.32.788.0 |
||
| 50 | |||
| 51 | [ultrascan] |
||
| 52 | CAMERA_ID = 0 |
||
| 53 | FLIP = True |
||
| 54 | ROTATE = 0 |
||
| 55 | </pre> |