|
Bsoft
1.9
Bernard's software package
|
Symmetry function library for crystallography. More...
#include "Bimage.h"#include "rwsymop.h"#include "img_symmetry.h"#include "img_fourier.h"#include "img_combine.h"#include "Matrix3.h"#include "Complex.h"#include "trigonometry.h"#include "linked_list.h"#include "utilities.h"Go to the source code of this file.
Functions | |
| double * | img_check_space_group (Bimage *p, double resolution) |
| Checks the crystal space group symmetry and the shift to a symmetry axis. More... | |
| double * | img_apply_space_group (Bimage *p, double resolution) |
| Applies the necessary shift to superimpose the origin on a symmetry axis. More... | |
| int | img_apply_friedel (Bimage *p) |
| Applies Friedel symmetry. More... | |
| double | img_check_friedel (Bimage *p) |
| Checks Friedel symmetry. More... | |
Variables | |
| int | verbose |
Symmetry function library for crystallography.
Definition in file img_symmetry.cpp.
| int img_apply_friedel | ( | Bimage * | p | ) |
Applies Friedel symmetry.
| *p | complex image. |
The Friedel-related voxels are converted to polar form and the in difference in amplitude and phase calculated (taking into account the phases should differ by sign). The voxels are then set to the average and its conjugate.
Definition at line 337 of file img_symmetry.cpp.
| double* img_apply_space_group | ( | Bimage * | p, |
| double | resolution | ||
| ) |
Applies the necessary shift to superimpose the origin on a symmetry axis.
| *p | complex image. |
| resolution | high resolution limit. |
Definition at line 179 of file img_symmetry.cpp.
| double img_check_friedel | ( | Bimage * | p | ) |
Checks Friedel symmetry.
| *p | complex image. |
The differences between the complex and polar forms of Friedel-related voxels are calculated and accumulated as squared sums weighted by their average intensities. The residuals are then calculated as root-mean-square-deviations.
Definition at line 420 of file img_symmetry.cpp.
| double* img_check_space_group | ( | Bimage * | p, |
| double | resolution | ||
| ) |
Checks the crystal space group symmetry and the shift to a symmetry axis.
| *p | complex image. |
| resolution | high resolution limit. |
Definition at line 29 of file img_symmetry.cpp.
| int verbose |