Falcon raw frame saving » History » Version 4
Anchi Cheng, 08/08/2014 02:06 PM
1 | 1 | Anchi Cheng | h1. Falcon raw frame saving |
---|---|---|---|
2 | |||
3 | 2 | Anchi Cheng | Falcon II base frame (the frame defined by the camera rolling shutter) rate is ~ 18 frames per second. |
4 | 1 | Anchi Cheng | |
5 | 2 | Anchi Cheng | Raw frame saving can be achieved either with an custom hardware modification as designed at MRC-LMB or directly through FEI "Inermediate Image" tool. We only have experience in latter. |
6 | 1 | Anchi Cheng | |
7 | 2 | Anchi Cheng | h2. Intermediate Image Configuration XML file |
8 | |||
9 | Falcon Intermediate Image Tool allows base frames to be saved in 7 frame bins. |
||
10 | |||
11 | For raw frame saving using FEI's software, the midpoint time of the starting and ending base frames to be included in saved frame bin is defined by an xml file on Titan as |
||
12 | |||
13 | 1 | Anchi Cheng | <pre> |
14 | C:\Titan\Data\Falcon\IntermediateConfig.xml |
||
15 | </pre> |
||
16 | |||
17 | 2 | Anchi Cheng | To adjust the way the frames are saved in the bins, this file needs to be re-configured. |
18 | 1 | Anchi Cheng | |
19 | Leginon handles this configuration file modification required for each image acquisition. However, if you need to generate your own, you can make a copy of the python script in myami/pyscope/falconframe.py and run it alone. |
||
20 | 2 | Anchi Cheng | |
21 | <pre> |
||
22 | python falconframe.py exposure_time_in_second first_distributed_frame_number |
||
23 | </pre> |
||
24 | |||
25 | h2. Saving raw frame in Leginon |
||
26 | |||
27 | 1. Activate "Store intermediate images" option in C:\Titan\Exe\IntermediateImageTool.exe |
||
28 | 4 | Anchi Cheng | !FalconIntermediatImageTool.png! |
29 | 2 | Anchi Cheng | 2. Edit the camera configuration of the imaging condition preset that you'd like to save frames like this: |
30 | !FalconSaveframe.png! |
||
31 | The most import input is *Use Frames*, explained below. The rest can be left blank |
||
32 | Activate the checkbox "Save Frames" to use the configuration when the preset is used. |
||
33 | |||
34 | h3. Configure frame saving using "Use Frames" settings |
||
35 | |||
36 | Falcon Intermediate Image Tool allows base frames to be saved in 7 frame bins. |
||
37 | |||
38 | Frame number 0 that started readout as the beam shutter is open is usually discarded. |
||
39 | |||
40 | The format of this input is: (first_frame_number, first_distributed_frame_number, last_frame_number) |
||
41 | |||
42 | Frame number starts from 0 but frame 0 is normally discarded. |
||
43 | |parameter|description|typical value| |
||
44 | |first_frame_number|The base frame number where the frame saving starts|1| |
||
45 | |first_distributed_frame_number|Base frames before this will each occupies one saved frame bin. Starting from this frame number, Leginon will attempt to put the same number of base frames in each remaining saved frame bin.|2| |
||
46 | |last_frame_number|The last base frame number to be saved.|17| |