JEOLCOM installation specifics » History » Version 25
Anchi Cheng, 03/12/2016 12:41 AM
1 | 25 | Anchi Cheng | h1. Installation specifics for JEOL instrument with JEOL's COM library |
---|---|---|---|
2 | 1 | Anchi Cheng | |
3 | 24 | Anchi Cheng | These implementations have pyscope modules included in our repository |
4 | 1 | Anchi Cheng | |
5 | 21 | Anchi Cheng | h2. JEOL 1400, 2100, 3100 and 3200 (and other scopes with JEOL's COM library) |
6 | 1 | Anchi Cheng | |
7 | 13 | Anchi Cheng | Developed originally at Northwestern University by Christian Suloway |
8 | 1 | Anchi Cheng | |
9 | 10 | Anchi Cheng | h3. Install 32-bit version of myami package on the associated camera computer |
10 | |||
11 | 12 | Anchi Cheng | * Instead of installing myami package on JEOL scope-controlling PC, the access to JEOLCOM usually work through the computer controlling the digital camera, regardless of the camera manufacturer. |
12 | 10 | Anchi Cheng | |
13 | 1 | Anchi Cheng | * In addition, probably because of the way JEOLCOM works, the installation is limited to 32-bit version. |
14 | 12 | Anchi Cheng | |
15 | h3. Alternatively, install myami package on JEOL scope-controlling microscope |
||
16 | |||
17 | * This is only possible if this PC has TEMExternal3 installed and if it is on the same secured network as Leginon processing and database server. |
||
18 | |||
19 | See [[JEOL External3 setup]] |
||
20 | 9 | Anchi Cheng | |
21 | 7 | Anchi Cheng | {{include(comtypes installer)}} |
22 | 8 | Anchi Cheng | |
23 | 1 | Anchi Cheng | Please check [[Windows_Installation_All]] for important installation instruction regarding comtypes |
24 | 8 | Anchi Cheng | |
25 | 13 | Anchi Cheng | h2. jeol.cfg |
26 | |||
27 | jeol.cfg records some instrument specific parameters that are required to convert the COM output to SI units that Leginon depends on as well as standard focus values needed for initializing defocus reference. |
||
28 | |||
29 | 22 | Anchi Cheng | To do the pyscope communication test, copy pyscope/jeol.cfg.template to pyscope/jeol.cfg without any change. |
30 | 4 | Anchi Cheng | |
31 | h2. instruments.cfg |
||
32 | |||
33 | [scope] |
||
34 | class: jeolcom.Jeol |
||
35 | cs: 4.1e-3 |
||
36 | |||
37 | h2. Testing with pyscope |
||
38 | |||
39 | In python command |
||
40 | <pre> |
||
41 | 1 | Anchi Cheng | from pyscope import jeolcom |
42 | 15 | Neil Voss | t =jeolcom.Jeol() |
43 | 4 | Anchi Cheng | t.getMagnification() |
44 | </pre> |
||
45 | 1 | Anchi Cheng | |
46 | 20 | Anchi Cheng | You should get the current magnification at the microscope at the film camera position |
47 | 1 | Anchi Cheng | |
48 | h2. Leginon Calibration specifics |
||
49 | |||
50 | 22 | Anchi Cheng | h3. Initial [[Setup and Calibration for jeol.cfg]] |
51 | |||
52 | h3. Follow the general installation and Leginon setup manual until you run "Calibrations" application and finishes obtaining your [[Bright_and_Dark_reference_images]]. |
||
53 | |||
54 | 1 | Anchi Cheng | h3. Refining scales in jeol.cfg |
55 | 20 | Anchi Cheng | |
56 | Unfortunately, Leginon's targeting relies on fairly good scale values in jeol.cfg. If you have low confidence on these initial estimate, we recommend doing some iterations of the following: |
||
57 | 22 | Anchi Cheng | # Calibrate [[Pixel Size Calibration|pixel size]] more accurately at each magnification used, including lower magnification with the defocus that will be used in experiment. |
58 | # Iterate adjustment of IMAGESHIFT_SCALE values in jeol.cfg and recalibrate in Leginon. |
||
59 | 23 | Anchi Cheng | # Test the beam tilt scale using [[TEM_Scripting_Beam_Tilt_Calibration|get_beamtilt_scale.py]] |
60 | 20 | Anchi Cheng | |
61 | h3. Image Beam Compensation calibration |
||
62 | 16 | Anchi Cheng | |
63 | JEM scopes do not have a high level function we can access through scripting to move image shift without affecting beam location. Therefore, any Leginon node that uses IMAGE SHIFT move type should be changed to BEAM-IMAGE SHIFT. |
||
64 | |||
65 | 19 | Anchi Cheng | This affects calibration procedure in two ways: |
66 | 20 | Anchi Cheng | * Image Shift should be calibrated at smaller shift distance if the beam moves too much to affect correlation. |
67 | 17 | Anchi Cheng | * [[Image Beam Compensation Calibration]] at mid and high mags (i.e. mags for hl and fa,fc,en,ef) is required to perform the compensation |
68 | 18 | Anchi Cheng | |
69 | h2. Custom Lens Programs |
||
70 | |||
71 | Note: This part requires microscopy knowledge. If you are a system admin, ask your local microscopist. |
||
72 | |||
73 | h3. sq preset magnification |
||
74 | |||
75 | For Leginon to function efficiently, it is highly desirable to have sq preset in Mag1 mode as the energizing/de-energizing of the objective lens is very slow. If the image acquired in standard Mag1 mode does not give large enough area to accommodate error in repeated targeting or covers too few holes, it may be a good idea to design and request a custom lens program that replaces an unused MAG1 magnification (typically the lowest one). For example, we have made such program replacing MAG1 1500x on JEM3200FSC @ NYSBC that gave us effective magnification of 750x. The lens program should be designed to energize objective lens and with balance of projection system to minimize distortion. Rotation of the image is o.k. |
||
76 | |||
77 | h3. lower intensity of the beam for very low magnification (such as gr) preset |
||
78 | |||
79 | For Gatan K2 camera installed on JEM microscope, the beam may to too intense at the low end of the magnification for grid atlas collection. While the camera is designed to protect itself when the beam is strong by retracting, it may not realize the problem when grid bar of the em grid reduces the average value. It is worth asking your local service engineer to make a lens program that has lower CL1 value. We replaced our spot 5 value with such a custom value. |
||
80 | 17 | Anchi Cheng | |
81 | 1 | Anchi Cheng | h2. [[Leginon Operation for JEM scopes]] |