Xmipp
v3.23.11-Nereus
|
#include <reconstruct_ADMM.h>
Public Member Functions | |
ProgReconsADMM () | |
void | defineParams () |
void | readParams () |
void | show () |
void | run () |
void | produceSideInfo () |
void | project (double rot, double tilt, double psi, MultidimArray< double > &P, bool adjoint=false, double weight=1.) |
void | project (const Matrix1D< double > &r1, const Matrix1D< double > &r2, MultidimArray< double > &P, bool adjoint=false, double weight=1.) |
void | constructHtb () |
void | computeHtKH (MultidimArray< double > &kernelV) |
void | addRegularizationTerms () |
void | applyKernel3D (MultidimArray< double > &x, MultidimArray< double > &AtAx) |
void | applyLFilter (MultidimArray< std::complex< double > > &fourierL, bool adjoint=false) |
void | applyLtFilter (MultidimArray< std::complex< double > > &fourierL, MultidimArray< double > &u, MultidimArray< double > &d) |
void | applyConjugateGradient () |
void | doPOCSProjection () |
void | updateUD () |
void | produceVolume () |
virtual void | shareVolume (MultidimArray< double > &V) |
virtual void | synchronize () |
Public Member Functions inherited from XmippProgram | |
const char * | getParam (const char *param, int arg=0) |
const char * | getParam (const char *param, const char *subparam, int arg=0) |
int | getIntParam (const char *param, int arg=0) |
int | getIntParam (const char *param, const char *subparam, int arg=0) |
double | getDoubleParam (const char *param, int arg=0) |
double | getDoubleParam (const char *param, const char *subparam, int arg=0) |
float | getFloatParam (const char *param, int arg=0) |
float | getFloatParam (const char *param, const char *subparam, int arg=0) |
void | getListParam (const char *param, StringVector &list) |
int | getCountParam (const char *param) |
bool | checkParam (const char *param) |
bool | existsParam (const char *param) |
void | addParamsLine (const String &line) |
void | addParamsLine (const char *line) |
ParamDef * | getParamDef (const char *param) const |
virtual void | quit (int exit_code=0) const |
virtual int | tryRun () |
void | initProgress (size_t total, size_t stepBin=60) |
void | setProgress (size_t value=0) |
void | endProgress () |
void | processDefaultComment (const char *param, const char *left) |
void | setDefaultComment (const char *param, const char *comment) |
virtual void | initComments () |
void | setProgramName (const char *name) |
void | addUsageLine (const char *line, bool verbatim=false) |
void | clearUsage () |
void | addExampleLine (const char *example, bool verbatim=true) |
void | addSeeAlsoLine (const char *seeAlso) |
void | addKeywords (const char *keywords) |
const char * | name () const |
virtual void | usage (int verb=0) const |
virtual void | usage (const String ¶m, int verb=2) |
int | version () const |
virtual void | show () const |
virtual void | read (int argc, const char **argv, bool reportErrors=true) |
virtual void | read (int argc, char **argv, bool reportErrors=true) |
void | read (const String &argumentsLine) |
XmippProgram () | |
XmippProgram (int argc, const char **argv) | |
virtual | ~XmippProgram () |
Additional Inherited Members | |
Protected Member Functions inherited from XmippProgram | |
void | defineCommons () |
Protected Attributes inherited from XmippProgram | |
int | errorCode |
ProgramDef * | progDef |
Program definition and arguments parser. More... | |
std::map< String, CommentList > | defaultComments |
int | argc |
Original command line arguments. More... | |
const char ** | argv |
Definition at line 69 of file reconstruct_ADMM.h.
ProgReconsADMM::ProgReconsADMM | ( | ) |
Definition at line 39 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::addRegularizationTerms | ( | ) |
Add regularization to the kernel
Definition at line 467 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::applyConjugateGradient | ( | ) |
Apply conjugate gradient
Definition at line 543 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::applyKernel3D | ( | MultidimArray< double > & | x, |
MultidimArray< double > & | AtAx | ||
) |
Apply kernel 3D
Definition at line 492 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::applyLFilter | ( | MultidimArray< std::complex< double > > & | fourierL, |
bool | adjoint = false |
||
) |
Apply Lt filter
Definition at line 525 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::applyLtFilter | ( | MultidimArray< std::complex< double > > & | fourierL, |
MultidimArray< double > & | u, | ||
MultidimArray< double > & | d | ||
) |
Definition at line 536 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::computeHtKH | ( | MultidimArray< double > & | kernelV | ) |
Compute H^t*K*H. H is the projection operator, K is the CTF operator
Definition at line 367 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::constructHtb | ( | ) |
H^t*b
Definition at line 243 of file reconstruct_ADMM.cpp.
|
virtual |
Function in which the param of each Program are defined.
Reimplemented from XmippProgram.
Definition at line 45 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::doPOCSProjection | ( | ) |
POCS projection
Definition at line 606 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::produceSideInfo | ( | ) |
Definition at line 106 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::produceVolume | ( | ) |
Convert from coefficients to voxel volume
Definition at line 679 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::project | ( | double | rot, |
double | tilt, | ||
double | psi, | ||
MultidimArray< double > & | P, | ||
bool | adjoint = false , |
||
double | weight = 1. |
||
) |
Project the volume V onto P using rot,tilt,psi
Definition at line 292 of file reconstruct_ADMM.cpp.
void ProgReconsADMM::project | ( | const Matrix1D< double > & | r1, |
const Matrix1D< double > & | r2, | ||
MultidimArray< double > & | P, | ||
bool | adjoint = false , |
||
double | weight = 1. |
||
) |
Project the volume V onto P using r1 and r2 as the coordinate system
Definition at line 302 of file reconstruct_ADMM.cpp.
|
virtual |
Function in which each program will read parameters that it need. If some error occurs the usage will be printed out.
Reimplemented from XmippProgram.
Definition at line 74 of file reconstruct_ADMM.cpp.
|
virtual |
This function will be start running the program. it also should be implemented by derived classes.
Reimplemented from XmippProgram.
Definition at line 222 of file reconstruct_ADMM.cpp.
|
inlinevirtual |
void ProgReconsADMM::show | ( | ) |
Definition at line 217 of file reconstruct_ADMM.cpp.
|
inlinevirtual |
void ProgReconsADMM::updateUD | ( | ) |
Update u and d
Definition at line 653 of file reconstruct_ADMM.cpp.
double ProgReconsADMM::a |
Definition at line 78 of file reconstruct_ADMM.h.
double ProgReconsADMM::alpha |
Definition at line 79 of file reconstruct_ADMM.h.
bool ProgReconsADMM::applyMask |
Definition at line 91 of file reconstruct_ADMM.h.
Image<double> ProgReconsADMM::CHtb |
Definition at line 152 of file reconstruct_ADMM.h.
Image<double> ProgReconsADMM::Ck |
Definition at line 153 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::dx |
Definition at line 159 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::dy |
Definition at line 159 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::dz |
Definition at line 159 of file reconstruct_ADMM.h.
FileName ProgReconsADMM::fnFirst |
Definition at line 74 of file reconstruct_ADMM.h.
FileName ProgReconsADMM::fnHtb |
Definition at line 75 of file reconstruct_ADMM.h.
FileName ProgReconsADMM::fnHtKH |
Definition at line 76 of file reconstruct_ADMM.h.
FileName ProgReconsADMM::fnIn |
Definition at line 72 of file reconstruct_ADMM.h.
FileName ProgReconsADMM::fnRoot |
Definition at line 73 of file reconstruct_ADMM.h.
MultidimArray<std::complex<double> > ProgReconsADMM::fourierKernelV |
Definition at line 155 of file reconstruct_ADMM.h.
MultidimArray< std::complex<double> > ProgReconsADMM::fourierLx |
Definition at line 160 of file reconstruct_ADMM.h.
MultidimArray< std::complex<double> > ProgReconsADMM::fourierLy |
Definition at line 160 of file reconstruct_ADMM.h.
MultidimArray< std::complex<double> > ProgReconsADMM::fourierLz |
Definition at line 160 of file reconstruct_ADMM.h.
AdmmKernel ProgReconsADMM::kernel |
Definition at line 151 of file reconstruct_ADMM.h.
String ProgReconsADMM::kernelShape |
Definition at line 77 of file reconstruct_ADMM.h.
double ProgReconsADMM::lambda |
Definition at line 81 of file reconstruct_ADMM.h.
double ProgReconsADMM::lambda1 |
Definition at line 82 of file reconstruct_ADMM.h.
Mask ProgReconsADMM::mask |
Definition at line 93 of file reconstruct_ADMM.h.
MetaDataVec ProgReconsADMM::mdIn |
Definition at line 154 of file reconstruct_ADMM.h.
double ProgReconsADMM::mu |
Definition at line 80 of file reconstruct_ADMM.h.
int ProgReconsADMM::Nadmmiter |
Definition at line 89 of file reconstruct_ADMM.h.
int ProgReconsADMM::Ncgiter |
Definition at line 88 of file reconstruct_ADMM.h.
size_t ProgReconsADMM::Nprocs |
Definition at line 96 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::paddedx |
Definition at line 156 of file reconstruct_ADMM.h.
bool ProgReconsADMM::positivity |
Definition at line 90 of file reconstruct_ADMM.h.
size_t ProgReconsADMM::rank |
Definition at line 97 of file reconstruct_ADMM.h.
bool ProgReconsADMM::saveIntermediate |
Definition at line 95 of file reconstruct_ADMM.h.
SymList ProgReconsADMM::SL |
Definition at line 161 of file reconstruct_ADMM.h.
String ProgReconsADMM::symmetry |
Definition at line 94 of file reconstruct_ADMM.h.
double ProgReconsADMM::Ti |
Definition at line 84 of file reconstruct_ADMM.h.
double ProgReconsADMM::Tp |
Definition at line 85 of file reconstruct_ADMM.h.
FourierTransformer ProgReconsADMM::transformerL |
Definition at line 157 of file reconstruct_ADMM.h.
FourierTransformer ProgReconsADMM::transformerPaddedx |
Definition at line 157 of file reconstruct_ADMM.h.
double ProgReconsADMM::Ts |
Definition at line 92 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::ud |
Definition at line 159 of file reconstruct_ADMM.h.
bool ProgReconsADMM::useCTF |
Definition at line 87 of file reconstruct_ADMM.h.
bool ProgReconsADMM::useWeights |
Definition at line 86 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::ux |
Definition at line 159 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::uy |
Definition at line 159 of file reconstruct_ADMM.h.
MultidimArray<double> ProgReconsADMM::uz |
Definition at line 159 of file reconstruct_ADMM.h.
Image<double> ProgReconsADMM::Vk |
Definition at line 153 of file reconstruct_ADMM.h.