Xmipp
v3.23.11-Nereus
|
CommonLine Parameters. More...
#include <common_lines.h>
Public Member Functions | |
ProgCommonLine () | |
void | readParams () |
void | defineParams () |
void | produceSideInfo () |
void | processBlock (int i, int j) |
void | getAndPrepareBlock (int i, std::vector< MultidimArray< std::complex< double > > > &blockRTFs, std::vector< MultidimArray< double > > &blockRTs) |
void | show () |
void | qualifyCommonLines () |
void | solveForShifts () |
void | writeResults () |
void | run () |
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 () |
Public Attributes | |
FileName | fn_sel |
input file More... | |
FileName | fn_out |
output file More... | |
String | outputStyle |
Output style. More... | |
bool | scaleDistance |
Scale output measure. More... | |
double | outlierFraction |
Outlier fraction. More... | |
double | lpf |
Low pass filter. More... | |
double | hpf |
High pass filter. More... | |
double | stepAng |
Angular sampling. More... | |
double | mem |
Memory limit. More... | |
int | Nthr |
Number of threads. More... | |
int | Nmpi |
Number of processors. More... | |
int | rank |
MPI Rank. More... | |
int | Nblock |
MetaDataVec | SF |
int | Nimg |
size_t | Xdim |
std::vector< CommonLine > | CLmatrix |
Matrix1D< double > | shift |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
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 |
CommonLine Parameters.
Definition at line 60 of file common_lines.h.
|
inline |
|
virtual |
Define parameters
Reimplemented from XmippProgram.
Definition at line 50 of file common_lines.cpp.
void ProgCommonLine::getAndPrepareBlock | ( | int | i, |
std::vector< MultidimArray< std::complex< double > > > & | blockRTFs, | ||
std::vector< MultidimArray< double > > & | blockRTs | ||
) |
Get and prepare block
Definition at line 206 of file common_lines.cpp.
void ProgCommonLine::processBlock | ( | int | i, |
int | j | ||
) |
Process block
Definition at line 345 of file common_lines.cpp.
void ProgCommonLine::produceSideInfo | ( | ) |
Produce Side Information
Definition at line 70 of file common_lines.cpp.
void ProgCommonLine::qualifyCommonLines | ( | ) |
|
virtual |
Read parameters from command line.
Reimplemented from XmippProgram.
Definition at line 35 of file common_lines.cpp.
|
virtual |
void ProgCommonLine::show | ( | ) |
void ProgCommonLine::solveForShifts | ( | ) |
Solve for shifts
Definition at line 478 of file common_lines.cpp.
void ProgCommonLine::writeResults | ( | ) |
Write results
Definition at line 414 of file common_lines.cpp.
std::vector<CommonLine> ProgCommonLine::CLmatrix |
Definition at line 137 of file common_lines.h.
FileName ProgCommonLine::fn_out |
output file
Definition at line 66 of file common_lines.h.
FileName ProgCommonLine::fn_sel |
input file
Definition at line 64 of file common_lines.h.
double ProgCommonLine::hpf |
High pass filter.
Definition at line 76 of file common_lines.h.
double ProgCommonLine::lpf |
Low pass filter.
Definition at line 74 of file common_lines.h.
double ProgCommonLine::mem |
Memory limit.
Definition at line 81 of file common_lines.h.
int ProgCommonLine::Nblock |
Definition at line 125 of file common_lines.h.
int ProgCommonLine::Nimg |
Definition at line 131 of file common_lines.h.
int ProgCommonLine::Nmpi |
Number of processors.
Definition at line 85 of file common_lines.h.
int ProgCommonLine::Nthr |
Number of threads.
Definition at line 83 of file common_lines.h.
double ProgCommonLine::outlierFraction |
Outlier fraction.
Definition at line 72 of file common_lines.h.
String ProgCommonLine::outputStyle |
Output style.
Definition at line 68 of file common_lines.h.
int ProgCommonLine::rank |
MPI Rank.
Definition at line 87 of file common_lines.h.
bool ProgCommonLine::scaleDistance |
Scale output measure.
Definition at line 70 of file common_lines.h.
MetaDataVec ProgCommonLine::SF |
Definition at line 128 of file common_lines.h.
Matrix1D<double> ProgCommonLine::shift |
Definition at line 140 of file common_lines.h.
double ProgCommonLine::stepAng |
Angular sampling.
Definition at line 78 of file common_lines.h.
size_t ProgCommonLine::Xdim |
Definition at line 134 of file common_lines.h.