How to Update from v30 (Instrument Windows Computer) » History » Revision 1
Revision 1/8
| Next »
Anchi Cheng, 08/12/2014 05:21 PM
How to Update from v30 (Instrument Windows Computer)¶
The changes to v3.1 DOES require upgrade at the microscope and camera computers.
See Installation Troubleshooting and Leginon Bulletin Board searching
for "install" if you run into problems.
copy the old config files to the global location if you still use local files¶
Locate global configuration directory following standard on Windows¶
Saving cfg files in a global location reduces future need for copying old configuration to updated installation. The location is different for different versions of Windows. To locate the one for your Windows version:
- go to C:\\python27\Lib\site-packages\leginon
- run configcheck.py
The script gives the three search directories of the cfg files and the loaded file if present. Note the first search directory that with a name most likely start with C:\\Programs and ends with \myami. This is the global configuration directory we will use.
config file | likely location in 3.0 installation if not in your home directory |
sinedon.cfg | C:\\python27\Lib\site-packages\sinedon\ |
leginon.cfg | C:\\python27\Lib\site-packages\leginon\config\ |
instruments.cfg | C:\\python27\Lib\site-packages\pyscope\ |
Enter Tietz PXL camera imaging size in instruments.cfg if needed in this format:¶
[camera] tietz.TietzPXL zplane:10 height: 2048 width: 2048
About TEM Scripting Beam Tilt Calibration¶
- If you have done TEM_Scripting Beam Tilt Calibration and have changed the scale factor in tecnai.py, you should copy the value to your new installation.
Gatan K2 Summit camera¶
Check and modify pyscope/dmsem.py for new configuration needed for the camera to indicate its DM version, orientation, and file saving location.
# DM Version DM_VERSION = '2.30.542.0' # the value in DM camera config K2_CONFIG_FLIP = True # multiple of 90 degrees (i.e. put 1 if 90 degrees, 3 if 270 degrees) K2_CONFIG_ROTATE = 3 # raw frame base directory. Use '\\' as path separator RAW_FRAME_DIR = 'D:\\frames\\'
< How to Update from v2.2 (Linux)
Updated by Anchi Cheng over 10 years ago · 1 revisions