Xmipp
v3.23.11-Nereus
|
#include <validation_tilt_pairs.h>
Public Member Functions | |
void | defineParams () |
Define parameters in the command line. More... | |
void | quaternion2Paulibasis (double rot, double tilt, double psi, std::complex< double >(&L)[4]) |
Transform a set of angles/orientations to a matrix expressed in Pauli basis. More... | |
void | Pauliproduct (std::complex< double > A[4], std::complex< double > B[4], std::complex< double >(&P)[4]) |
It calculates the product of two matrix expressed in Pauli matrices by their matrix elements A an B. More... | |
void | inverse_matrixSU2 (std::complex< double > Original[4], std::complex< double >(&Inver)[4]) |
Inverse of a matrix (expressed in Pauli basis) More... | |
void | Paulibasis2matrix (std::complex< double > P[4], std::complex< double >(&M)[4]) |
A Pauli span is converted to a 2x2 matrix. More... | |
void | InversefromPaulibasis (std::complex< double > Original[4], std::complex< double >(&Inver)[4]) |
void | matrix2Paulibasis (std::complex< double > M[4], std::complex< double >(&P)[4]) |
It takes a 2x2 matrix (where M[0] = m11; M[1]=m12; M[2]=m21; M[3]=m22) and express the matrix M,. More... | |
void | extrarotationangles (std::complex< double > R[4], double &alpha_x, double &alpha_y) |
Extract angles alpha_x and alpha_y from the transformation matrix. More... | |
void | angles2tranformation (double untilt_angles[3], double tilt_angles[3], double alpha_x, double alpha_y) |
It takes two sets of angles (rotu, tiltu, psiu) which define Eu, and (rott, tiltt, psit) which define Et,. More... | |
void | readParams () |
Read parameters from the command line. More... | |
void | run () |
Execute de program. More... | |
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 | fntiltimage_In |
FileName | fnuntiltimage_In |
FileName | fnOut |
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 |
Definition at line 43 of file validation_tilt_pairs.h.
void ProgValidationTiltPairs::angles2tranformation | ( | double | untilt_angles[3], |
double | tilt_angles[3], | ||
double | alpha_x, | ||
double | alpha_y | ||
) |
It takes two sets of angles (rotu, tiltu, psiu) which define Eu, and (rott, tiltt, psit) which define Et,.
Definition at line 165 of file validation_tilt_pairs.cpp.
|
virtual |
Define parameters in the command line.
Reimplemented from XmippProgram.
Definition at line 31 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::extrarotationangles | ( | std::complex< double > | R[4], |
double & | alpha_x, | ||
double & | alpha_y | ||
) |
Extract angles alpha_x and alpha_y from the transformation matrix.
Definition at line 146 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::inverse_matrixSU2 | ( | std::complex< double > | Original[4], |
std::complex< double >(&) | Inver[4] | ||
) |
Inverse of a matrix (expressed in Pauli basis)
Definition at line 104 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::InversefromPaulibasis | ( | std::complex< double > | Original[4], |
std::complex< double >(&) | Inver[4] | ||
) |
Definition at line 84 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::matrix2Paulibasis | ( | std::complex< double > | M[4], |
std::complex< double >(&) | P[4] | ||
) |
It takes a 2x2 matrix (where M[0] = m11; M[1]=m12; M[2]=m21; M[3]=m22) and express the matrix M,.
Definition at line 71 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::Paulibasis2matrix | ( | std::complex< double > | P[4], |
std::complex< double >(&) | M[4] | ||
) |
A Pauli span is converted to a 2x2 matrix.
Definition at line 121 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::Pauliproduct | ( | std::complex< double > | A[4], |
std::complex< double > | B[4], | ||
std::complex< double >(&) | P[4] | ||
) |
It calculates the product of two matrix expressed in Pauli matrices by their matrix elements A an B.
Definition at line 130 of file validation_tilt_pairs.cpp.
void ProgValidationTiltPairs::quaternion2Paulibasis | ( | double | rot, |
double | tilt, | ||
double | psi, | ||
std::complex< double >(&) | L[4] | ||
) |
Transform a set of angles/orientations to a matrix expressed in Pauli basis.
Definition at line 52 of file validation_tilt_pairs.cpp.
|
virtual |
Read parameters from the command line.
Reimplemented from XmippProgram.
Definition at line 44 of file validation_tilt_pairs.cpp.
|
virtual |
Execute de program.
Reimplemented from XmippProgram.
Definition at line 183 of file validation_tilt_pairs.cpp.
FileName ProgValidationTiltPairs::fnOut |
Filename output document file
Definition at line 51 of file validation_tilt_pairs.h.
FileName ProgValidationTiltPairs::fntiltimage_In |
Filename tiltpar average
Definition at line 47 of file validation_tilt_pairs.h.
FileName ProgValidationTiltPairs::fnuntiltimage_In |
Filename tiltpar average
Definition at line 49 of file validation_tilt_pairs.h.