Adding DE-12 to Leginon » History » Revision 10
« Previous |
Revision 10/16
(diff)
| Next »
Anchi Cheng, 01/09/2014 09:32 PM
Installation Guide for DE-12 or DE-20¶
DE-12 is on a computer separated from the microscope¶
Please read Using_Leginon_on_a_system_where_the_microscope_and_camera_are_controlled_by_different_computers first.
Extra Package and Installation¶
None.
instruments.cfg¶
DE12 and DE Survey camera are retract/extend together, with the survey camera at off-axis. Therefore zplane should be set at the same value
For example,
[camera1] class: de.DE12 zplane: 50 [camera2] class: de.DESurvey zplane: 50
height and width should be set according to the model.
Setup¶
- Create the folder to store the dose fractionation raw frames. Default location is D:\\frames.
- Setup raw frame file transfer from a network data server.
Testing¶
Testing with pyscope¶
- start DE Server
- from python command line
from pyscope import de c = de.DE12() c.setExposuretime(407) c.getImage()
- 407 ms is the 10 frame exposure time at 25.4 Hz default in DE-12
You should expect these to run without error. The getImage() command should give a 2D numpy array like
array([[1000, 3400, 2300, ..., 1000,1200,3000], [1000, 3400, 2300, ..., 1000,1200,3000], [1000, 3400, 2300, ..., 1000,1200,3000], ..., [1000, 3400, 2300, ..., 1000,1200,3000], [1000, 3400, 2300, ..., 1000,1200,3000], [1000, 3400, 2300, ..., 1000,1200,3000],dtype=int16)
The number and dtype depends on the camera.
a.shape command should give a tuple of the camera dimension matching your camera.
For example, (4096,4096)
If you use python shell to do this test, some of the error will cause the shell window to close immediately. Use Python IDLE instead in that case
Programs to open before Leginon Client: DE Server¶
See how to use DE camera usage in * DE-12 introduction Please read this!!! * Acquiring summed frame image thru Leginon * Triggering raw frame saving * Transferring raw frame images off the solid-state drive of DE-12 during data collection to a network drive. * Compiling corrected movie stack with Appion using bright and dark images acquired in Leginon
Updated by Anchi Cheng almost 11 years ago · 10 revisions