Gatan on Windows-32 » History » Version 9
Anchi Cheng, 02/02/2016 12:35 PM
1 | 1 | Anchi Cheng | h1. Gatan on Windows-32 |
---|---|---|---|
2 | |||
3 | 9 | Anchi Cheng | * This is only known to work for Gatan camera associate with FEI microscopes. For JEOL microscope, See [[Gatan on Windows-32 with dmsem]] |
4 | 1 | Anchi Cheng | |
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 | 3 | Anchi Cheng | * height and width depend on your specific camera |
28 | 1 | Anchi Cheng | see [[instrumentscfg_for_22|instruments.cfg z plane configuration]] for more explanation. |
29 | |||
30 | 4 | Anchi Cheng | If you have more than one camera controlled through DM, you need to find its id and use class gatan.Gatan0 and gatan.Gatan1 etc in the configuration to distinguish them and assign different zplanes so the higher ones can retract when the lower one is asked to acquire image. see #2201 for history of this issue |
31 | |||
32 | 1 | Anchi Cheng | h2. Setup |
33 | |||
34 | * Set camera configuration to give the [[Leginon Image Orientation|standard Leginon orientation]]. |
||
35 | * 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 |
||
36 | |||
37 | h2. Testing with pyscope |
||
38 | |||
39 | In python command |
||
40 | <pre> |
||
41 | 7 | Anchi Cheng | from pyscope import gatan |
42 | 5 | Anchi Cheng | g = gatan.Gatan() |
43 | 1 | Anchi Cheng | g.setExposureTime(200) |
44 | g.getImage() |
||
45 | </pre> |
||
46 | |||
47 | You should get a bunch of numbers in a numpy array. |
||
48 | |||
49 | h2. Programs to open before Leginon Client: Digital Micrograph |