Project

General

Profile

Make DDD movie stack » History » Version 8

Anchi Cheng, 08/26/2014 05:58 PM

1 3 Anchi Cheng
h2. Make DDD movie stack
2
3
The following section comes from Appion Manual
4 1 Anchi Cheng
5
{{include(appion:Direct_Detector_Frame_Processing)}}
6 2 Anchi Cheng
7 5 Anchi Cheng
h2. Making Gain/Dark correction one image at a time without saving results to databases
8 4 Anchi Cheng
9 7 Anchi Cheng
Two scripts are attached here.  They use Leginon infrastructure to locate references and do gain/dark correction and bad pixel/column/row correction.  It, however, does not involve saving results to the leginon/appion databases.  These are good for testing of add your own idea to it.
10 2 Anchi Cheng
11
*correctframes.py* let you correct a range of raw frames in an image and output as mrc file.
12
*correctstack.py* let you correct each frame in the specified summed image and output at 2D image stack in mrc format.
13
14
type:
15
<pre>
16
python correctframes.py
17
</pre>
18
for the options
19 4 Anchi Cheng
20
h2. Do it yourself
21
22
If you want to do everything yourself, you can use the python script
23
24
"getReferences.py":http://emg.nysbc.org/projects/leginon/repository/changes/branches/myami-3.1/leginon/getReferences.py
25
26 6 Anchi Cheng
to find the location and filenames of the references and work on them yourself.
27
28
*Beware that the fames are often in different orientation from the reference images in Leginon*
29
30 8 Anchi Cheng
If there are no bad pixel/column/row on your camera that you included in your correction plan, you can feed the properly rotated/flipped references to the 2.0+ version of the drift correction program by Xueming Li.