![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions for applying some randomization to parameters. More...
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... | |
double | particle_random_view (Bparticle *part, double std) |
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... | |
Variables | |
int | verbose |
Functions for applying some randomization to parameters.
double particle_random_view | ( | Bparticle * | part, |
double | std | ||
) |
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). |
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. |
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). |
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). |
Replaces the original orientations by symmetry-related views.
*project | project parameter structure. |
*sym | symmetry structure. |
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. |
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). |
|
extern |