Xmipp
v3.23.11-Nereus
|
#include <angular_neighbourhood.h>
Public Member Functions | |
void | readParams () |
Read argument from command line. More... | |
void | show () |
Show. More... | |
void | defineParams () |
Usage. More... | |
double | check_symmetries (double rot1, double tilt1, double &rot2, double &tilt2) |
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_ref |
FileName | fn_sel |
double | maxdist |
FileName | fn_sym |
FileName | fn_out |
bool | check_mirrors |
MetaDataVec | DF1 |
MetaDataVec | DF2 |
SymList | SL |
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 |
Projection Neighbourhood parameters.
Definition at line 38 of file angular_neighbourhood.h.
double ProgAngularNeighbourhood::check_symmetries | ( | double | rot1, |
double | tilt1, | ||
double & | rot2, | ||
double & | tilt2 | ||
) |
Check symmetries. Given two sets of angles, this function modifies set 2 so that the difference with set 1 are minimized searching in the symmetry list and the second set. Return the angle distance.
|
virtual |
Usage.
Reimplemented from XmippProgram.
Definition at line 60 of file angular_neighbourhood.cpp.
|
virtual |
Read argument from command line.
Reimplemented from XmippProgram.
Definition at line 33 of file angular_neighbourhood.cpp.
|
virtual |
Compute distance. Compute the distance between the two document files loaded. The average distance is returned.
Reimplemented from XmippProgram.
Definition at line 78 of file angular_neighbourhood.cpp.
void ProgAngularNeighbourhood::show | ( | ) |
bool ProgAngularNeighbourhood::check_mirrors |
Check mirrors
Definition at line 52 of file angular_neighbourhood.h.
MetaDataVec ProgAngularNeighbourhood::DF1 |
Definition at line 55 of file angular_neighbourhood.h.
MetaDataVec ProgAngularNeighbourhood::DF2 |
Definition at line 57 of file angular_neighbourhood.h.
FileName ProgAngularNeighbourhood::fn_out |
Filename of output file
Definition at line 50 of file angular_neighbourhood.h.
FileName ProgAngularNeighbourhood::fn_ref |
Filename reference projection directions document file
Definition at line 42 of file angular_neighbourhood.h.
FileName ProgAngularNeighbourhood::fn_sel |
Filename selection file containing the images
Definition at line 44 of file angular_neighbourhood.h.
FileName ProgAngularNeighbourhood::fn_sym |
Filename symmetry file
Definition at line 48 of file angular_neighbourhood.h.
double ProgAngularNeighbourhood::maxdist |
Double maximum neighbour distance
Definition at line 46 of file angular_neighbourhood.h.
SymList ProgAngularNeighbourhood::SL |
Definition at line 59 of file angular_neighbourhood.h.