BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Convenience class for handling polarization density matrix and polarization analyzer operator.
Definition at line 29 of file PolMatrices.h.
Public Member Functions | |
PolMatrices () | |
PolMatrices (SpinMatrix polarization, SpinMatrix analyzer) | |
const SpinMatrix & | analyzerMatrix () const |
Gets the polarization analyzer operator (in spin basis along z-axis) More... | |
const SpinMatrix & | polarizerMatrix () const |
Gets the polarization density matrix (in spin basis along z-axis) More... | |
void | setAnalyzerMatrix (const SpinMatrix &analyzer) |
Sets the polarization analyzer operator (in spin basis along z-axis) More... | |
void | setPolarizerMatrix (const SpinMatrix &polarization) |
Sets the polarization density matrix (in spin basis along z-axis) More... | |
Private Attributes | |
SpinMatrix | m_analyzer_matrix |
polarization analyzer operator More... | |
SpinMatrix | m_polarizer_matrix |
polarization density matrix More... | |
PolMatrices::PolMatrices | ( | ) |
Definition at line 20 of file PolMatrices.cpp.
PolMatrices::PolMatrices | ( | SpinMatrix | polarization, |
SpinMatrix | analyzer | ||
) |
Definition at line 26 of file PolMatrices.cpp.
|
inline |
Gets the polarization analyzer operator (in spin basis along z-axis)
Definition at line 44 of file PolMatrices.h.
References m_analyzer_matrix.
Referenced by DiffuseElement::pointElement(), and SpecularComputation::runProtected().
|
inline |
Gets the polarization density matrix (in spin basis along z-axis)
Definition at line 38 of file PolMatrices.h.
References m_polarizer_matrix.
Referenced by DiffuseElement::pointElement(), and SpecularComputation::runProtected().
|
inline |
Sets the polarization analyzer operator (in spin basis along z-axis)
Definition at line 41 of file PolMatrices.h.
References m_analyzer_matrix.
Referenced by ISpecularScan::polMatrices().
|
inline |
Sets the polarization density matrix (in spin basis along z-axis)
Definition at line 35 of file PolMatrices.h.
References m_polarizer_matrix.
Referenced by ISpecularScan::polMatrices().
|
private |
polarization analyzer operator
Definition at line 48 of file PolMatrices.h.
Referenced by analyzerMatrix(), and setAnalyzerMatrix().
|
private |
polarization density matrix
Definition at line 47 of file PolMatrices.h.
Referenced by polarizerMatrix(), and setPolarizerMatrix().