Project

General

Profile

K2 raw frame saving » History » Revision 5

Revision 4 (Anchi Cheng, 04/24/2015 09:00 AM) → Revision 5/6 (Anchi Cheng, 04/24/2015 09:12 AM)

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.    Which one to use is determined by the speed and space since the data acquisition can not continue during the frame saving. 
 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. 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. For 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. 

 h2. Next: [[DDD_raw_frame_file_transfer|Transfer and/or rename the movie frames]]