![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions to simulate tilted micrographs. More...
Functions | |
int | img_ttf_simulate_line (Bimage *p, Bimage *pn, long img_num, long i, char ax, CTFparam &ctf, int action, double wiener, double scale, fft_plan plan) |
long | img_ttf_simulate_one (Bimage *p, Bimage *pn, long img_num, CTFparam &ctf, int action, double wiener, double tilt, double axis, fft_plan plan) |
Bimage * | img_ttf_simulate (Bimage *pn, CTFparam &ctf, int action, double wiener, double tilt, double tilt_inc, double axis) |
Calculates an exact tilted CTF imposed image. More... | |
Variables | |
int | verbose |
Functions to simulate tilted micrographs.
Bimage * img_ttf_simulate | ( | Bimage * | pn, |
CTFparam & | ctf, | ||
int | action, | ||
double | wiener, | ||
double | tilt, | ||
double | tilt_inc, | ||
double | axis | ||
) |
Calculates an exact tilted CTF imposed image.
*pn | image structure. |
&ctf | CTF parameter structure. |
action | 0=apply, 1=flip. |
wiener | Wiener factor. |
tilt | tilt angle in radians. |
tilt_inc | tilt increment per sub-image in radians. |
axis | tilt axis direction in radians. |
A CTF function is calculated for each line parallel to the tilt axis, applied to the whole image, and the transformed line written into a new image.
int img_ttf_simulate_line | ( | Bimage * | p, |
Bimage * | pn, | ||
long | img_num, | ||
long | i, | ||
char | ax, | ||
CTFparam & | ctf, | ||
int | action, | ||
double | wiener, | ||
double | scale, | ||
fft_plan | plan | ||
) |
long img_ttf_simulate_one | ( | Bimage * | p, |
Bimage * | pn, | ||
long | img_num, | ||
CTFparam & | ctf, | ||
int | action, | ||
double | wiener, | ||
double | tilt, | ||
double | axis, | ||
fft_plan | plan | ||
) |
|
extern |