Xmipp
v3.23.11-Nereus
|
#include <pdb_construct_dictionary.h>
Public Member Functions | |
void | defineParams () |
void | readParams () |
void | show () |
void | run () |
Public Member Functions inherited from ProgPDBDictionary | |
void | extractPatch (const MultidimArray< double > &V, MultidimArray< double > &patch, int k, int i, int j) |
void | insertPatch (MultidimArray< double > &Vhigh, MultidimArray< double > &weightHigh, const MultidimArray< double > &patchHigh, int k, int i, int j, double R2) |
void | constructRotationGroup2D () |
void | constructRotationGroup3D () |
void | constructRotationGroup () |
size_t | canonicalOrientation2D (const MultidimArray< double > &patch, MultidimArray< double > &canonicalPatch, Matrix1D< double > &patchSignature) |
size_t | canonicalOrientation3D (const MultidimArray< double > &patch, MultidimArray< double > &canonicalPatch, Matrix1D< double > &patchSignature) |
bool | notInDictionary (const MultidimArray< double > &candidatePatch, MultidimArray< double > &canonicalPatch, Matrix1D< double > &canonicalSignature, size_t &canonicalIdx) |
void | selectDictionaryPatches (const MultidimArray< double > &lowResolutionPatch, Matrix1D< double > &lowResolutionPatchSignature, std::vector< size_t > &selectedPatchesIdx, std::vector< double > &weight) |
double | approximatePatch (const MultidimArray< double > &lowResolutionPatch, std::vector< size_t > &selectedPatchesIdx, std::vector< double > &weight, Matrix1D< double > &alpha) |
void | reconstructPatch (size_t idxTransf, std::vector< size_t > &selectedPatchesIdx, Matrix1D< double > &alpha, MultidimArray< double > &highResolutionPatch) |
void | loadDictionaries () |
void | saveDictionaries () const |
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 | |
Public Attributes inherited from ProgPDBDictionary | |
FileName | fnRoot |
int | patchSize |
double | stdThreshold |
double | angleThreshold |
double | lambda |
int | iterations |
int | mode |
std::vector< MultidimArray< double > > | dictionaryLow |
std::vector< MultidimArray< double > > | dictionaryHigh |
std::vector< Matrix1D< double > > | dictionarySignature |
std::vector< Matrix2D< double > > | rotationGroup |
MultidimArray< double > | auxPatch |
Matrix1D< double > | auxSignature |
Matrix2D< double > | Ui |
Matrix2D< double > | UitUi |
Matrix1D< double > | wi |
Matrix1D< double > | v1 |
Matrix1D< double > | v2 |
Matrix1D< double > | y |
Matrix1D< double > | yp |
Matrix1D< double > | Uity |
int | patchSize_2 |
Public Attributes inherited from XmippProgram | |
bool | doRun |
bool | runWithoutArgs |
int | verbose |
Verbosity level. More... | |
int | debug |
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 |
Construct Low and High resolution dictionary
Definition at line 137 of file pdb_construct_dictionary.h.
|
virtual |
Function in which the param of each Program are defined.
Reimplemented from ProgPDBDictionary.
Definition at line 541 of file pdb_construct_dictionary.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 ProgPDBDictionary.
Definition at line 555 of file pdb_construct_dictionary.cpp.
|
virtual |
This function will be start running the program. it also should be implemented by derived classes.
Implements ProgPDBDictionary.
Definition at line 581 of file pdb_construct_dictionary.cpp.
|
virtual |