|
Bsoft
2.1.0
Bernard's software package
|
Header file for applying some randomization to parameters. More...
Go to the source code of this file.
Functions | |
| int | project_random_defocus (Bproject *project, double std) |
| Introduces random errors into micrograph defocus averages. More... | |
| int | project_random_origins (Bproject *project, double std) |
| Introduces random errors into particle origins. More... | |
| int | project_random_views (Bproject *project) |
| Replace the original particle orientations by random views. More... | |
| int | project_random_helical_views (Bproject *project) |
| Replace the original particle orientations by random side views for a helix. More... | |
| int | project_random_views (Bproject *project, double std) |
| Introduces random errors into particle views. More... | |
| int | project_random_magnification (Bproject *project, double std) |
| Introduces random errors into particle magnifications. More... | |
| int | project_random_symmetry_related_views (Bproject *project, Bsymmetry *sym) |
| Replaces the original orientations by symmetry-related views. More... | |
Header file for applying some randomization to parameters.
Definition in file mg_random.h.
| int project_random_defocus | ( | Bproject * | project, |
| double | std | ||
| ) |
Introduces random errors into micrograph defocus averages.
The random deviations are obtained from a Gaussian distribution generator.
| *project | project parameter structure. |
| std | standard deviation of random error (angstroms). |
Definition at line 28 of file mg_random.cpp.
| int project_random_helical_views | ( | Bproject * | project | ) |
Replace the original particle orientations by random side views for a helix.
The random views are generated in the ranges {[0,1], [0,1], [0,1], [-PI,PI]}.
| *project | project parameter structure. |
Definition at line 179 of file mg_random.cpp.
| int project_random_magnification | ( | Bproject * | project, |
| double | std | ||
| ) |
Introduces random errors into particle magnifications.
The random deviations are obtained from a Gaussian distribution generator.
| *project | project parameter structure. |
| std | standard deviation of random error (fraction). |
Definition at line 313 of file mg_random.cpp.
| int project_random_origins | ( | Bproject * | project, |
| double | std | ||
| ) |
Introduces random errors into particle origins.
The random deviations are obtained from a Gaussian distribution generator.
| *project | project parameter structure. |
| std | standard deviation of random error (pixels). |
Definition at line 73 of file mg_random.cpp.
Replaces the original orientations by symmetry-related views.
| *project | project parameter structure. |
| *sym | symmetry structure. |
Definition at line 362 of file mg_random.cpp.
| int project_random_views | ( | Bproject * | project | ) |
Replace the original particle orientations by random views.
The random views are generated in the ranges {[0,1], [0,1], [0,1], [-PI,PI]}.
| *project | project parameter structure. |
Definition at line 130 of file mg_random.cpp.
| int project_random_views | ( | Bproject * | project, |
| double | std | ||
| ) |
Introduces random errors into particle views.
The random deviations are obtained from a Gaussian distribution generator.
| *project | project parameter structure. |
| std | standard deviation of random error (radians). |
Definition at line 255 of file mg_random.cpp.