| Bsoft 2.0.5 Bernard's software package

mg_ctf_fit.h
Go to the documentation of this file.
1
9 #include "rwimg.h"
10 #include "ctf.h"
11
12 // Function prototypes
13 Bimage* img_ctf_radial_average(Bimage* p, long n, CTFparam& em_ctf);
14 double img_ctf_fit(Bimage* p, long n, CTFparam& em_ctf, double lores, double hires,
15 double def_start=1e3, double def_end=2e5, double def_inc=1e3, int flag=0);
16 double img_ctf_fit_baseline(Bimage* p, long n, CTFparam& em_ctf, double lores, double hires);
17 double img_ctf_fit_envelope(Bimage* p, long n, CTFparam& em_ctf, double lores, double hires);
18 double img_ctf_find_defocus(Bimage* p, long n, CTFparam& em_ctf,
19 double lores, double hires,
20 double def_start=1e3, double def_end=2e5, double def_inc=1e3);
21 double img_ctf_fit_astigmatism(Bimage* p, long n, CTFparam& em_ctf, double lores, double hires);
22 double img_water_ring_index(Bimage* p, long img_num, CTFparam& em_ctf);
23 double img_water_ring_index(Bimage* prad);
24
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: mg_ctf_fit.cpp:332
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: mg_ctf_fit.cpp:46
img_ctf_fit
double img_ctf_fit(Bimage *p, long n, CTFparam &em_ctf, double lores, double hires, double def_start=1e3, double def_end=2e5, double def_inc=1e3, int flag=0)
Determines the CTF parameters from a power spectrum.
Definition: mg_ctf_fit.cpp:209
Bimage
General image parameter class.
Definition: Bimage.h:163
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: mg_ctf_fit.cpp:557
img_water_ring_index
double img_water_ring_index(Bimage *p, long img_num, CTFparam &em_ctf)
Calculates the water ring index from a power spectrum.
Definition: mg_ctf_fit.cpp:651
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: mg_ctf_fit.cpp:299
ctf.h
Header file for CTF (contrast transfer function) functions.
rwimg.h
Header file for 2D and 3D image I/O.
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: mg_ctf_fit.cpp:391
CTFparam
Definition: ctf.h:26