26 #ifndef VALIDATE_TILT_PAIRS_H 27 #define VALIDATE_TILT_PAIRS_H 61 void Pauliproduct(std::complex<double> A[4], std::complex<double> B[4], std::complex<double> (&P)[4]);
64 void inverse_matrixSU2(std::complex<double> Original[4], std::complex<double> (&Inver)[4]);
82 void angles2tranformation(
double untilt_angles[3],
double tilt_angles[3],
double alpha_x,
double alpha_y);
void inverse_matrixSU2(std::complex< double > Original[4], std::complex< double >(&Inver)[4])
Inverse of a matrix (expressed in Pauli basis)
void extrarotationangles(std::complex< double > R[4], double &alpha_x, double &alpha_y)
Extract angles alpha_x and alpha_y from the transformation matrix.
void Paulibasis2matrix(std::complex< double > P[4], std::complex< double >(&M)[4])
A Pauli span is converted to a 2x2 matrix.
void InversefromPaulibasis(std::complex< double > Original[4], std::complex< double >(&Inver)[4])
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.
void readParams()
Read parameters from the command line.
void defineParams()
Define parameters in the command line.
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...
FileName fnuntiltimage_In
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,.
double psi(const double x)
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...
void run()
Execute de program.