| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

img_ctf.h
Go to the documentation of this file.
1
9 #include "rwimg.h"
10 #include "fft.h"
11 #include "ctf.h"
12
13 // Function prototypes
14 Bimage* img_ctf_calculate(CTFparam cp, int action, double wiener, Vector3<long> size,
15 Vector3<double> sampling, double lores=0, double hires=0);
16 Bimage* img_wave_aberration(CTFparam cp, Vector3<int> size, Vector3<float> sampling);
17 int img_ctf_apply(Bimage* p, CTFparam* em_ctf, int action, double wiener,
18 double lores, double hires);
19 int img_ctf_apply(Bimage* p, CTFparam* em_ctf, int action, double wiener,
20 double lores, double hires, fft_plan planf_2D, fft_plan planb_2D);
21 int img_ttf_apply(Bimage* p, CTFparam* ctf, int action, double wiener,
22 Vector3<int> tile_size, double tilt, double axis, double res_lo, double res_hi);
23 int img_ctf_apply_to_proj(Bimage* proj, CTFparam* em_ctf, double defocus, double res_lo, double res_hi, fft_plan planf_2D, fft_plan planb_2D);
24 Bimage* img_ctf_radial_average(Bimage* p, long n, CTFparam* em_ctf);
25 double img_ctf_fit(Bimage* p, long n, CTFparam* em_ctf, double lores, double hires);
26 double img_ctf_fit_baseline(Bimage* p, long n, CTFparam* em_ctf, double lores, double hires);
27 double img_ctf_fit_envelope(Bimage* p, long n, CTFparam* em_ctf, double lores, double hires);
28 double img_ctf_find_defocus(Bimage* p, long n, CTFparam* em_ctf,
29 double lores, double hires,
30 double def_start=1e3, double def_end=2e5, double def_inc=1e3);
31 double img_ctf_fit_astigmatism(Bimage* p, long n, CTFparam* em_ctf, double lores, double hires);
32
img_ctf_find_defocus
double img_ctf_find_defocus(Bimage *p, long n, CTFparam *em_ctf, double lores, double hires, double def_start=1e3, double def_end=2e5, double def_inc=1e3)
Searches for the defocus based on correlation.
Definition: img_ctf.cpp:942
img_ctf_fit
double img_ctf_fit(Bimage *p, long n, CTFparam *em_ctf, double lores, double hires)
Determines the CTF parameters from a power spectrum.
Definition: img_ctf.cpp:705
Bimage
General image parameter class.
Definition: Bimage.h:155
img_ctf_fit_baseline
double img_ctf_fit_baseline(Bimage *p, long n, CTFparam *em_ctf, double lores, double hires)
Fits only the baseline for a given CTF.
Definition: img_ctf.cpp:852
img_ctf_fit_envelope
double img_ctf_fit_envelope(Bimage *p, long n, CTFparam *em_ctf, double lores, double hires)
Fits only the envelope for a given CTF.
Definition: img_ctf.cpp:885
ctf.h
Header file for CTF (contrast transfer function) functions.
fftwnd_data
Definition: fftw.h:355
img_ctf_calculate
Bimage * img_ctf_calculate(CTFparam cp, int action, double wiener, Vector3< long > size, Vector3< double > sampling, double lores=0, double hires=0)
Calculates a CTF complex image.
Definition: img_ctf.cpp:55
img_ctf_radial_average
Bimage * img_ctf_radial_average(Bimage *p, long n, CTFparam *em_ctf)
Calculates the power spectrum radial average corrected for astigmatism.
Definition: img_ctf.cpp:554
Vector3
Vector class for 3-value vectors used in 3D space. The internal variables are an array of 3 numbers...
Definition: Quaternion.h:16
img_wave_aberration
Bimage * img_wave_aberration(CTFparam cp, Vector3< int > size, Vector3< float > sampling)
Calculates a wave aberration function.
Definition: img_ctf.cpp:193
img_ttf_apply
int img_ttf_apply(Bimage *p, CTFparam *ctf, int action, double wiener, Vector3< int > tile_size, double tilt, double axis, double res_lo, double res_hi)
Applies or corrects for the tilted contrast transfer function (TTF).
Definition: img_ctf.cpp:431
rwimg.h
Header file for 2D and 3D image I/O.
img_ctf_fit_astigmatism
double img_ctf_fit_astigmatism(Bimage *p, long n, CTFparam *em_ctf, double lores, double hires)
Fits the astigmatism with a given defocus, baseline and envelope.
Definition: img_ctf.cpp:1024
fft.h
General FFT for n-dimensional data.
img_ctf_apply_to_proj
int img_ctf_apply_to_proj(Bimage *proj, CTFparam *em_ctf, double defocus, double res_lo, double res_hi, fft_plan planf_2D, fft_plan planb_2D)
Applies a CTF to a projection image.
Definition: img_ctf.cpp:379
img_ctf_apply
int img_ctf_apply(Bimage *p, CTFparam *em_ctf, int action, double wiener, double lores, double hires)
Applies or corrects for the contrast transfer function (CTF).
Definition: img_ctf.cpp:268
CTFparam
Definition: ctf.h:25