Xmipp
v3.23.11-Nereus
xmipp
legacy
libraries
reconstruction
ctf_correct_idr.h
Go to the documentation of this file.
1
/***************************************************************************
2
*
3
* Authors: Carlos Oscar S. 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
#ifndef _PROG_IDR_ART_HH
26
# define _PROG_IDR_ART_HH
27
28
#include "
core/xmipp_image.h
"
29
#include "
core/xmipp_metadata_program.h
"
30
#include "
data/fourier_filter.h
"
31
#include "
data/fourier_projection.h
"
32
36
/* IDR Parameters ---------------------------------------------------------- */
38
class
ProgCtfCorrectIdr
:
public
XmippMetadataProgram
39
{
40
public
:
42
FileName
fn_vol
;
43
45
double
mu
;
46
48
FileName
fnRoot
;
49
public
:
50
// Input Volume
51
Image<double>
V
;
52
53
// Temporary projections
54
Projection
Ireal
,
Itheo
;
55
MultidimArray<double>
Inorm
,
Itheo_CTF
;
56
57
// CTF filter
58
FourierFilter
ctf
;
59
60
// Last CTF file read
61
FileName
last_fn_ctf
;
62
63
public
:
65
void
readParams
();
66
68
void
preProcess
();
69
71
void
show
();
72
74
void
defineParams
();
75
77
void
processImage
(
const
FileName
&fnImg,
const
FileName
&fnImgOut,
const
MDRow
&rowIn,
MDRow
&rowOut);
78
};
80
#endif
ProgCtfCorrectIdr::processImage
void processImage(const FileName &fnImg, const FileName &fnImgOut, const MDRow &rowIn, MDRow &rowOut)
Process one image.
Definition:
ctf_correct_idr.cpp:76
MultidimArray< double >
xmipp_metadata_program.h
ProgCtfCorrectIdr::fn_vol
FileName fn_vol
Reference volume.
Definition:
ctf_correct_idr.h:42
ProgCtfCorrectIdr::preProcess
void preProcess()
Preprocess.
Definition:
ctf_correct_idr.cpp:36
ProgCtfCorrectIdr::Itheo
Projection Itheo
Definition:
ctf_correct_idr.h:54
ProgCtfCorrectIdr::Ireal
Projection Ireal
Definition:
ctf_correct_idr.h:54
FileName
Definition:
xmipp_filename.h:65
ProgCtfCorrectIdr::ctf
FourierFilter ctf
Definition:
ctf_correct_idr.h:58
xmipp_image.h
ProgCtfCorrectIdr::mu
double mu
Relaxation factor.
Definition:
ctf_correct_idr.h:45
fourier_filter.h
ProgCtfCorrectIdr::Itheo_CTF
MultidimArray< double > Itheo_CTF
Definition:
ctf_correct_idr.h:55
ProgCtfCorrectIdr::fnRoot
FileName fnRoot
Output filename root.
Definition:
ctf_correct_idr.h:48
fourier_projection.h
ProgCtfCorrectIdr::V
Image< double > V
Definition:
ctf_correct_idr.h:51
ProgCtfCorrectIdr::readParams
void readParams()
Read params.
Definition:
ctf_correct_idr.cpp:29
Projection
Definition:
fourier_projection.h:56
ProgCtfCorrectIdr::Inorm
MultidimArray< double > Inorm
Definition:
ctf_correct_idr.h:55
ProgCtfCorrectIdr
Definition:
ctf_correct_idr.h:38
XmippMetadataProgram
Definition:
xmipp_metadata_program.h:44
Image< double >
ProgCtfCorrectIdr::last_fn_ctf
FileName last_fn_ctf
Definition:
ctf_correct_idr.h:61
FourierFilter
Definition:
fourier_filter.h:69
ProgCtfCorrectIdr::defineParams
void defineParams()
Define parameters.
Definition:
ctf_correct_idr.cpp:51
MDRow
Definition:
metadata_row_base.h:53
ProgCtfCorrectIdr::show
void show()
Show parameters.
Definition:
ctf_correct_idr.cpp:42
Generated by
1.8.13