Xmipp  v3.23.11-Nereus
reconstruct_art_xray.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Authors: Joaquin Oton (joton@cnb.csic.es)
3  *
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 RECONSTRUCT_ART_XRAY_H_
27 #define RECONSTRUCT_ART_XRAY_H_
28 
29 #include "project_xray.h"
30 #include "recons.h"
31 #include "data/basis.h"
32 
36 
37 /* The user interface program should make a call to the run routine.
38  */
40 {
41 protected:
42  bool isMpi; // True if prog is mpi version
43 public:
44 
54  double lambdaART;
56  int Nit;
58  double psfThr;
60  double sampling;
70  int projXdim;
72  int projYdim;
73  // Number of threads to use
74  int nThreads;
76 
78  {}
80  {}
81 
83  void setIO(const FileName &fn_in, const FileName &fn_out)
84  {}
85  void defineParams();
86  void readParams();
87  void show();
88  void run();
89  void preProcess(Image<double> &volVoxels);
90  void postProcess();
91  // void preIteration();
92  // void postIteration();
94  double singleStep(MultidimArray<double> &muVol, const Projection &projExp,
95  double rot, double tilt, double psi);
96 
97 
98 }
99 ;
101 
102 #endif /* RECONSTRUCT_ART_XRAY_H_ */
double singleStep(MultidimArray< double > &muVol, const Projection &projExp, double rot, double tilt, double psi)
FileName fnDoc
Selfile with the input images.
FileName fnStart
Start Volume Filename.
double lambdaART
Lambda.
ThreadManager * thMgr
int projXdim
Projection X dimension.
FileName fnOut
Output filename.
double psfThr
threshold for psfSlabs
int Nit
Number of iterations.
Definition: basis.h:45
void preProcess(Image< double > &volVoxels)
int projYdim
Projection Y dimension.
MetaDataVec MDin
Metadata with projections info.
FileName fnPSF
psf Filename
XRayPSF psf
Microscope parameters.
double psi(const double x)
void setIO(const FileName &fn_in, const FileName &fn_out)
Functions of common reconstruction interface.
MultidimArray< double > IgeoVol
Vol with the Igeometrical distribution along specimen volume.
double sampling
Sampling rate.
Basis basis
Basis function. By default, blobs.