Gatan on Windows-32 » History » Version 2
Anchi Cheng, 01/03/2014 03:33 PM
| 1 | 1 | Anchi Cheng | h1. Gatan on Windows-32 |
|---|---|---|---|
| 2 | |||
| 3 | * This is only known to work for Gatan camera associate with FEI microscopes. For JEOL microscope, dmsem is used. |
||
| 4 | |||
| 5 | h2. Extra Package and Installation |
||
| 6 | |||
| 7 | |_.program/package|_.notes| |
||
| 8 | |TecnaiCCD.dll |(Should come with the microscope).| |
||
| 9 | |||
| 10 | {{include(comtypes installer)}} |
||
| 11 | |||
| 12 | h3. Register TecnaiCCD.dll (It may have been registered already) |
||
| 13 | |||
| 14 | * From the command prompt, run the following commands. You may need to enter the full path of the dll: |
||
| 15 | <pre>REGSVR32 TecnaiCCD.dll</pre> |
||
| 16 | |||
| 17 | h2. instruments.cfg |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | [camera] |
||
| 21 | class: gatan.Gatan |
||
| 22 | zplane: 50 |
||
| 23 | height: 4096 |
||
| 24 | width: 4096 |
||
| 25 | </pre> |
||
| 26 | |||
| 27 | 2 | Anchi Cheng | * height and width depends on your specific camera |
| 28 | 1 | Anchi Cheng | see [[instrumentscfg_for_22|instruments.cfg z plane configuration]] for more explanation. |
| 29 | |||
| 30 | h2. Setup |
||
| 31 | |||
| 32 | * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. |
||
| 33 | * 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 |
||
| 34 | |||
| 35 | h2. Testing with pyscope |
||
| 36 | |||
| 37 | In python command |
||
| 38 | <pre> |
||
| 39 | form pyscope import gatan |
||
| 40 | g = gatani.Gatani() |
||
| 41 | g.setExposureTime(200) |
||
| 42 | g.getImage() |
||
| 43 | </pre> |
||
| 44 | |||
| 45 | You should get a bunch of numbers in a numpy array. |
||
| 46 | |||
| 47 | h2. Programs to open before Leginon Client: Digital Micrograph |