Xmipp  v3.23.11-Nereus
ctf_sort_psds.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * Authors: Carlos Oscar S. Sorzano (coss@cnb.csic.es)
4  * Slavica Jonic (slavica.jonic@impmc.jussieu.fr)
5  *
6  * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21  * 02111-1307 USA
22  *
23  * All comments concerning this program package may be sent to the
24  * e-mail address 'xmipp@cnb.csic.es'
25  ***************************************************************************/
26 #ifndef _PROG_CTF_SORT_PSDS_HH
27 #define _PROG_CTF_SORT_PSDS_HH
28 
30 
34 
37 public:
38  double defocusU;
39  double defocusV;
42  double firstZeroAvg;
43  double firstMinimumStddev_ZeroStddev; // sigma(firstMinimum)/sigma(firstZero)
44  double firstMinimumDiffStddev_ZeroStddev; // sigma(firstMinimum-firstZero)/sigma(firstZero)
45  double maxFreq;
47  double beating;
50  double fittingScore;
51  double fittingCorr13;
52  double PSDVariance;
54  double PSDPCRunsTest;
57 };
58 
59 /* Sort PSD Program Parameters ------------------------------------------ */
62 {
63 public:
65  double filter_w1;
66 
68  double filter_w2;
69 
71  double decay_width;
72 
74  double mask_w1;
75 
77  double mask_w2;
78 
80  // COSS: double downsampling; // This is already in the CTF file
81 public:
83  ProgPSDSort();
84 
86  void defineLabelParam();
87 
89  void readParams();
90 
92  void defineParams();
93 
95  void show();
96 
98  void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut);
99 };
101 #endif
double firstZeroAvg
Definition: ctf_sort_psds.h:42
double decay_width
Decay width (raised cosine)
Definition: ctf_sort_psds.h:71
double PSDVariance
Definition: ctf_sort_psds.h:52
double filter_w2
Bandpass filter high frequency (in Fourier space, max 0.5)
Definition: ctf_sort_psds.h:68
double histogramNormality
Definition: ctf_sort_psds.h:55
double fittingCorr13
Definition: ctf_sort_psds.h:51
FileName ctf_envelope_ssnr
Definition: ctf_sort_psds.h:56
double firstZeroRatio
Definition: ctf_sort_psds.h:41
double PSDPC1Variance
Definition: ctf_sort_psds.h:53
double fittingScore
Definition: ctf_sort_psds.h:50
double PSDcorrelation90
Definition: ctf_sort_psds.h:40
double maxDampingAtBorder
Definition: ctf_sort_psds.h:48
double PSDradialIntegral
Definition: ctf_sort_psds.h:49
double filter_w1
Bandpass filter low frequency (in Fourier space, max 0.5)
Definition: ctf_sort_psds.h:65
double firstMinimumDiffStddev_ZeroStddev
Definition: ctf_sort_psds.h:44
double mask_w1
Lower frequency for the mask (in Fourier space, max 0.5)
Definition: ctf_sort_psds.h:74
double PSDPCRunsTest
Definition: ctf_sort_psds.h:54
double firstMinimumStddev_ZeroStddev
Definition: ctf_sort_psds.h:43
double mask_w2
Higher frequency for the mask (in Fourier space, max 0.5)
Definition: ctf_sort_psds.h:77
double firstZeroDisagreement
Definition: ctf_sort_psds.h:46