TF | [Transfer Function - Generate image showing effect of defocus on CTF] |
TF C | [Transfer Function - Generate a straight, complex, CTF correction image] |
TF C3 | [Transfer Function - Generate a straight, complex, CTF correction volume] |
TF CT | [Transfer Function - Generate a binary, phase flipping, complex, CTF correction image] |
TF CT3 | [Transfer Function - Generate a binary, phase flipping, complex, CTF correction volume] |
TF CTS | [Transfer Function - CTF correction with SNR, image/volume] |
TF D | [Transfer Function - Generate image showing effect of astigmatism on CTF] |
TF DEV | [Transfer Function - Determine Envelope function] |
TF DNS | [Transfer Function - Delete noise background] |
PW | [Power spectrum - Amplitudes of Fourier transform ||] |
.IMAGE FILE: ro008
[Enter file name of 1D half-profile of power spectrum.]
.MAX SPATIAL FREQUENCY [1/A]: 0.171
[Enter the
spatial frequency
radius corresponding to the maximum radius of pixels in the array.]
.SEARCH NEIGHBORHOOD DISTANCE: 5
[This parameter controls the size of the local neighborhood that is
searched for local minima. For each point in the spectrum, N points
on either side are searched (total neighborhood = 2N + 1 pixels).]
.CHANGE SEARCH NEIGHBORHOOD? (Y/N): No
[ If "Y", the above operation will be repeated. Smaller search areas may
identify noise as minima, resulting in spurious minima. Large search areas
can smooth out and overlook actual minima if they are too small. Increase
the search neighborhood if your data is very noisy; decrease it if you have
many small minima.]
.NUMBER OF MINIMA USED FOR CTF?: 3
[Enter the number of minima you want to include in the calculation.]
POINT # 1
.SPATIAL FREQ. POINTS & ABERRATION (PI): 28.0, -1
[Enter the grid point of the minimum, which is found in the second
column in the list of minima found by the program, and its
corresponding aberration value in units of pi. For underfocus, the
first minimum is -1, the second is -2, the next is -3, and so on.
For overfocus, the first minimum is zero, the second is 1, the next
is 2, and so on.]
POINT # 2
.SPATIAL FREQ. POINTS & ABERRATION (PI): 58.8, -2
POINT # 3
.SPATIAL FREQ. POINTS & ABERRATION (PI): 83.1, -3
.WAVELENGTH LAMBDA [A]: 0.037
[Enter the wavelength of the electrons in Angstroms. The value used in
this example corresponds to 100kV. A table of values is listed
in the glossary.]
.SPHERICAL ABERRATION CS [MM]: 2.0
[Enter the spherical aberration coefficient, in mm.]
DEFOCUS = 24278.687 (Angstroms) AMPLITUDE CONTRAST = 0.143490
.DO YOU WANT TO GENERATE A FILTER? (Y/N) : y
[This option can generate a 1D filter file which is used by
'FD' to correct the CTF.]
NOTES
FR ?image file ?[img] ; Input image FR ?power spectrum file ?[pw] ; Output power spectrum [n]=0 [x5]=200 DO I=1,12 ; Number of pieces horizontal direction [x4]=120 DO J=1,12 ; Number of pieces in vertical direction WI ; Get small pieces of the input image [img] _1 512,512 ; Size of small pieces [x4],[x5] RA ; Correct ramp effects _1 _2 [n]=[n]+1 PW ; Calc power spectrum of each small piece _2 ; Calc square root of power spectrum _3 SQ ; Calculate real power spectrum _3 pwa{****[n]} WI ; Window central section of quick checking pwa{****[n]} pwb{****[n]} 80,80 217,217 [x4]=[x4]+256 ; 50% overlapping with its neighbours ENDDO [x5]=[x5]+256 ENDDO AS R ; Average over power spectra of small pieces pwa*** 1-144 A _1 _2 WU ; Calculate the square root of power _1 ; spectrum so it agrees with SPIDER [pw] ; convention RE