K2 raw frame saving » History » Revision 3
Revision 2 (Anchi Cheng, 08/11/2014 08:12 PM) → Revision 3/6 (Anchi Cheng, 08/11/2014 08:28 PM)
h1. K2 raw frame saving
# Typical frame saving preset parameters for counted/super-resolution: 0.2 s frame exposure time, 4-5 s total exposure time at 8-10 e/physical pixel/s (Some argues that 5 e/physical pixel/s is better). You can use DM's reading of dose rate while it is in counted mode and *UNBINNed* to get a reasonable estimate.
h2. Camera configuration for frame saving
# "Exposure time" specifies the total time in which the frames are saved.
# "Frame time" defines the length of each frame. The minimal value is 50 ms for K2 Summit and the values must be multiple of 50 ms.
# "Frames to use" is not used
# "Readout Delay" is not used
!K2Saveframe.png!
h2. File location:
The raw frame files can be saved in one of the three locations:
# K2 computer X:\\frames\\ Use this if you set up rawtransfer.py to transfer and remove files on the drive fast enough that there is no accumunation during data collection. K2 camera uses X drive for processing the frames. It is therefore important not to fill it up.
# K2 computer D:\\frames\\ Use this if file transfer is slow and network drive mounting is not stable. This ensures that frames are saved and can handle some accumulation of data.
# Network file server mounted on K2 computer.
The file location is determined in pyscope/dmsem.py constant RAW_FRAME_DIR. Fro example:
<pre>
K2_FRAME_DIR = 'D:\\frames\\
</pre>
You must create this parent directory manually before start saving the frames.
Each set of raw frame is saved in mrc format as an image stack identified by the date and a unique number. This is set by Leginon in pyscope/dmsem.py.
Leginon retrieve this and saved in its database so that [[DDD_raw_frame_file_transfer|rawtransfer.py]] script can transfer it to the Leginon rawdata directory under the same session.