Project

General

Profile

K2 raw frame saving » History » Version 5

Anchi Cheng, 04/24/2015 09:12 AM

1 1 Anchi Cheng
h1. K2 raw frame saving
2
3
# 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.
4
5
h2. Camera configuration for frame saving
6
7
# "Exposure time" specifies the total time in which the frames are saved.
8 2 Anchi Cheng
# "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.
9 1 Anchi Cheng
# "Frames to use" is not used
10
# "Readout Delay" is not used
11
12
!K2Saveframe.png!
13 3 Anchi Cheng
14
h2. File location:
15
16 5 Anchi Cheng
The raw frame files can be saved in one of the three locations.  Which one to use is determined by the speed and space since the data acquisition can not continue during the frame saving.
17
The rawtransfer.py script described in [[DDD_raw_frame_file_transfer]] will do an rsync and/or file rename once the frame files are saved with minimal delay to data acquisition.
18 3 Anchi Cheng
19
# 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.
20
# 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.
21
# Network file server mounted on K2 computer.
22
23 4 Anchi Cheng
The file location is determined in pyscope/dmsem.py constant RAW_FRAME_DIR. For example:
24 3 Anchi Cheng
<pre>
25
K2_FRAME_DIR =  'D:\\frames\\
26
</pre>
27
28
You must create this parent directory manually before start saving the frames.
29
30
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.
31 1 Anchi Cheng
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.
32 4 Anchi Cheng
33
h2. Next: [[DDD_raw_frame_file_transfer|Transfer and/or rename the movie frames]]