Xmipp
v3.23.11-Nereus
|
Functions | |
void | symmetrizeCrystalVectors (Matrix1D< double > &aint, Matrix1D< double > &bint, Matrix1D< double > &shift, int space_group, int sym_no, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint) |
void | symmetrizeCrystalVolume (GridVolume &vol, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, int eprm_space_group, const MultidimArray< int > &mask, int grid_type) |
void | symmetry_P2_122 (Image< double > &vol, const SimpleGrid &grid, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, const MultidimArray< int > &mask, int volume_no, int grid_type) |
void | symmetry_P22_12 (Image< double > &vol, const SimpleGrid &grid, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, const MultidimArray< int > &mask, int volume_no, int grid_type) |
void | symmetry_P4 (Image< double > &vol, const SimpleGrid &grid, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, const MultidimArray< int > &mask, int volume_no, int grid_type) |
void | symmetry_P42_12 (Image< double > &vol, const SimpleGrid &grid, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, const MultidimArray< int > &mask, int volume_no, int grid_type) |
void | symmetry_P6 (Image< double > &vol, const SimpleGrid &grid, const Matrix1D< double > &eprm_aint, const Matrix1D< double > &eprm_bint, const MultidimArray< int > &mask, int volume_no, int grid_type) |
void | symmetry_Helical (MultidimArray< double > &Vout, const MultidimArray< double > &Vin, double zHelical, double rotHelical, double rot0=0, MultidimArray< int > *mask=nullptr, bool dihedral=false, double heightFraction=1.0, int Cn=1) |
void | symmetry_HelicalLowRes (MultidimArray< double > &Vout, const MultidimArray< double > &Vin, double zHelical, double rotHelical, double rot0=0, MultidimArray< int > *mask=nullptr) |
void | symmetry_Dihedral (MultidimArray< double > &Vout, const MultidimArray< double > &Vin, double rotStep=1, double zmin=-3, double zmax=3, double zStep=0.5, MultidimArray< int > *mask=nullptr) |
void symmetrizeCrystalVectors | ( | Matrix1D< double > & | aint, |
Matrix1D< double > & | bint, | ||
Matrix1D< double > & | shift, | ||
int | space_group, | ||
int | sym_no, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint | ||
) |
Applies to the crystal vectors de n-th symmetry matrix, It also initializes the shift vector. The crystal vectors and the basis must be the same except for a constant!! A note: Please realize that we are not repeating code here. The class SymList deals with symmetries when expressed in Cartesian space, that is the basis is orthonormal. Here we describe symmetries in the crystallographic way that is, the basis and the crystal vectors are the same. For same symmetries both representations are almost the same but in general they are rather different.
Definition at line 44 of file symmetries.cpp.
void symmetrizeCrystalVolume | ( | GridVolume & | vol, |
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
int | eprm_space_group, | ||
const MultidimArray< int > & | mask, | ||
int | grid_type | ||
) |
Symmetrizes a crystal volume.
Definition at line 301 of file symmetries.cpp.
void symmetry_Dihedral | ( | MultidimArray< double > & | Vout, |
const MultidimArray< double > & | Vin, | ||
double | rotStep = 1 , |
||
double | zmin = -3 , |
||
double | zmax = 3 , |
||
double | zStep = 0.5 , |
||
MultidimArray< int > * | mask = nullptr |
||
) |
Find dihedral symmetry and apply it
Definition at line 1735 of file symmetries.cpp.
void symmetry_Helical | ( | MultidimArray< double > & | Vout, |
const MultidimArray< double > & | Vin, | ||
double | zHelical, | ||
double | rotHelical, | ||
double | rot0 = 0 , |
||
MultidimArray< int > * | mask = nullptr , |
||
bool | dihedral = false , |
||
double | heightFraction = 1.0 , |
||
int | Cn = 1 |
||
) |
Symmetrize with a helical symmetry.
Definition at line 1632 of file symmetries.cpp.
void symmetry_HelicalLowRes | ( | MultidimArray< double > & | Vout, |
const MultidimArray< double > & | Vin, | ||
double | zHelical, | ||
double | rotHelical, | ||
double | rot0 = 0 , |
||
MultidimArray< int > * | mask = nullptr |
||
) |
Symmetrize with a helical symmetry Low resolution. This function applies the helical symmetry in such a way that only the low resolution information is kept (i.e., the general shape of the helices).
void symmetry_P22_12 | ( | Image< double > & | vol, |
const SimpleGrid & | grid, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
const MultidimArray< int > & | mask, | ||
int | volume_no, | ||
int | grid_type | ||
) |
Symmetrizes a simple grid with P22_12 symmetry
Definition at line 591 of file symmetries.cpp.
void symmetry_P2_122 | ( | Image< double > & | vol, |
const SimpleGrid & | grid, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
const MultidimArray< int > & | mask, | ||
int | volume_no, | ||
int | grid_type | ||
) |
Symmetrizes a simple grid with P2_122 symmetry
Definition at line 366 of file symmetries.cpp.
void symmetry_P4 | ( | Image< double > & | vol, |
const SimpleGrid & | grid, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
const MultidimArray< int > & | mask, | ||
int | volume_no, | ||
int | grid_type | ||
) |
Symmetrizes a simple grid with P4 symmetry
Definition at line 815 of file symmetries.cpp.
void symmetry_P42_12 | ( | Image< double > & | vol, |
const SimpleGrid & | grid, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
const MultidimArray< int > & | mask, | ||
int | volume_no, | ||
int | grid_type | ||
) |
Symmetrizes a simple grid with P4212 symmetry
Definition at line 1009 of file symmetries.cpp.
void symmetry_P6 | ( | Image< double > & | vol, |
const SimpleGrid & | grid, | ||
const Matrix1D< double > & | eprm_aint, | ||
const Matrix1D< double > & | eprm_bint, | ||
const MultidimArray< int > & | mask, | ||
int | volume_no, | ||
int | grid_type | ||
) |
Symmetrizes a simple grid with P6 symmetry
Definition at line 1331 of file symmetries.cpp.