Xmipp  v3.23.11-Nereus
volume_halves_restoration.h
Go to the documentation of this file.
1 /***************************************************************************
2  *
3  * Authors: Carlos Oscar Sanchez Sorzano coss@cnb.csic.es
4  *
5  * Unidad de Bioinformatica of Centro Nacional de Biotecnologia , CSIC
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20  * 02111-1307 USA
21  *
22  * All comments concerning this program package may be sent to the
23  * e-mail address 'xmipp@cnb.csic.es'
24  ***************************************************************************/
25 
26 #ifndef _PROG_VOLUME_HALVES_RESTORATION
27 #define _PROG_VOLUME_HALVES_RESTORATION
28 
29 #include <core/xmipp_program.h>
30 #include <data/mask.h>
31 #include <core/xmipp_fftw.h>
32 
36 
37 
40 {
41 public:
45  int NiterReal;
51  double sigma0;
53  int NiterDiff;
55  double Kdiff;
57  double lambda;
59  int weightFun;
61  double weightPower;
62 public:
66  size_t pMaskSize;
70 
72  double sigmaConv1, sigmaConv2; // Sigma for the convolution
73 public:
75  void readParams();
76 
78  void show();
79 
81  void defineParams();
82 
84  void run();
85 
87  void produceSideInfo();
88 
90  void estimateS();
91  void deconvolveS();
92  void convolveS();
93  void optimizeSigma();
95  void filterBank();
96  void filterBand(const MultidimArray< std::complex<double> > &Vin, FourierTransformer &transformer, double w);
97  void evaluateDifference();
98 };
100 #endif
void readParams()
Read argument from command line.
void produceSideInfo()
Side information.
Definition: mask.h:360
MultidimArray< std::complex< double > > fV2r
doublereal * w
void defineParams()
Define parameters.
Definition: histogram.h:365
MultidimArray< std::complex< double > > fV1r
void significanceRealSpace(const MultidimArray< double > &V1, MultidimArray< double > &V1r)
void filterBand(const MultidimArray< std::complex< double > > &Vin, FourierTransformer &transformer, double w)
void estimateS()
Different estimates.
MultidimArray< std::complex< double > > fVol