K2 calibration » History » Version 7
Anchi Cheng, 06/02/2017 09:02 AM
1 | 1 | Anchi Cheng | h1. K2 calibration |
---|---|---|---|
2 | |||
3 | Most calibration and operation are similar to that of a typical digital camera. |
||
4 | |||
5 | Leginon treats linear/counted/super-resolution modes of K2 Summit as three cameras. Therefore, each needs its own calibrations. |
||
6 | |||
7 | 6 | Anchi Cheng | h2. Super-resolution calibrations |
8 | 1 | Anchi Cheng | |
9 | 6 | Anchi Cheng | Super resolution mode is especially hard to calibrate due to its image size. Instead of going through the actual calibration, it is easier just copying from counting mode. |
10 | |||
11 | 4 | Anchi Cheng | There is a script in your myami download under dbschema. Just add option 1 at the end. You may also download it from the repository |
12 | |||
13 | 7 | Anchi Cheng | http://emg.nysbc.org/projects/leginon/repository/changes/dbschema/tools/copy_k2_super_cal.py?rev=trunk |
14 | 1 | Anchi Cheng | |
15 | 6 | Anchi Cheng | 1. If you have not saved a preset GatanK2Super, do so. It will register the camera in the database. |
16 | |||
17 | 2. Run a test first. Make sure it does not give errors. |
||
18 | 4 | Anchi Cheng | <pre> |
19 | 1 | Anchi Cheng | python copy_k2_super_cal.py hostname high_tension |
20 | 4 | Anchi Cheng | </pre> |
21 | |||
22 | 6 | Anchi Cheng | 3. Add commit flag 1 when rerun to commit the change, for example, |
23 | 4 | Anchi Cheng | <pre> |
24 | python copy_k2_super_cal.py hostname 200000 1 |
||
25 | </pre> |