Project

General

Profile

K2 calibration » History » Revision 4

Revision 3 (Anchi Cheng, 06/09/2015 12:59 AM) → Revision 4/7 (Anchi Cheng, 09/30/2016 12:55 PM)

h1. K2 calibration 

 Most calibration and operation are similar to that of a typical digital camera. 

 Leginon treats linear/counted/super-resolution modes of K2 Summit as three cameras.    Therefore, each needs its own calibrations. 
 A python script is available to make the copying of the calibrations easier.    See message#1498.    You may need to modify it for different modes you are copying calibrations to. 

 There is also a script in your myami download under dbschema. that does not require code change.    Just add option 1 at the end.    You may also download it from the repository 

 http://emg.nysbc.org/projects/leginon/repository/changes/dbschema/copy_k2_super_cal.py 

 1. Run a test first.    Make sure it does not give errors. 
 <pre> 
 python copy_k2_super_cal.py hostname high_tension 
 </pre> 

 2. Add commit flag 1 when rerun to commit the change, for example, 
 <pre> 
 python copy_k2_super_cal.py hostname 200000 1 
 </pre> http://emg.nysbc.org/projects/leginon/repository/changes/trunk/dbschema/appion_path_change.py