![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for model to map conversions. More...
Functions | |
Bmodel * | model_from_images (Bimage *plist) |
Creates one or more models from 3D images. More... | |
Bmodel * | model_from_graph_segments (Bimage *p, GSgraph &gs) |
Creates one or more models from graph segments. More... | |
Bimage * | img_from_model (Bmodel *model, Vector3< double > ori, Vector3< long > size, Vector3< double > sam, double sigma) |
Calculates a map from model component coordinates. More... | |
int | model_catenate_maps (Bmodel *model, Bstring &filename) |
Concatenates all model maps into one multi-image file. More... | |
int | model_shell_fit (Bmodel *model, double hires, double lores, int neg) |
Fits a shell model as a rigid body to a map. More... | |
int | model_shell_radial_profile (Bmodel *model) |
Calculates a radial profile from a shell model. More... | |
Bimage * | model_shell_power_spectrum (Bmodel *model, Vector3< long > size, Vector3< double > origin, int ft_size, int ann_min, int ann_max, double hires, double lores) |
Calculates a radial profile from a shell model. More... | |
int | model_component_symmetry (Bmodel *model, long nangles, long ann_min, long ann_max, long ann_width, long zmin, long zmax, long zinc, long minorder, long maxorder) |
Determines the cyclic symmetry of components. More... | |
int | img_electron_scattering (Bmodel *model, Bimage *p, CTFparam &cp, double dose, double stdev, Bstring &atompropfile, int flag) |
Header file for model to map conversions.
int img_electron_scattering | ( | Bmodel * | model, |
Bimage * | p, | ||
CTFparam & | cp, | ||
double | dose, | ||
double | stdev, | ||
Bstring & | atompropfile, | ||
int | flag | ||
) |
Bimage * img_from_model | ( | Bmodel * | model, |
Vector3< double > | ori, | ||
Vector3< long > | size, | ||
Vector3< double > | sam, | ||
double | sigma | ||
) |
Calculates a map from model component coordinates.
*model | model. |
ori | origin within new map. |
size | size of new map. |
sam | voxel size of new map. |
sigma | gaussian sphere width. |
Concatenates all model maps into one multi-image file.
*model | model. |
&filename | new map file name. |
The model map file name must be set and point to a valid file.
int model_component_symmetry | ( | Bmodel * | model, |
long | nangles, | ||
long | ann_min, | ||
long | ann_max, | ||
long | ann_width, | ||
long | zmin, | ||
long | zmax, | ||
long | zinc, | ||
long | minorder, | ||
long | maxorder | ||
) |
Determines the cyclic symmetry of components.
*model | model parameters. |
nangles | number of angles. |
ann_min | minimum annulus. |
ann_max | maximum annulus. |
ann_width | annular width. |
zmin | minimum z limit. |
zmax | maximum z limit. |
zinc | z increment. |
minorder | minimum cyclic order to search for. |
maxorder | maximum cyclic order to search for. |
Creates one or more models from graph segments.
*p | image. |
&gs | graph segments. |
The regions are assumed to be number consecutively.
Creates one or more models from 3D images.
*plist | list of images. |
The model ID's are derived from the image filenames.
int model_shell_fit | ( | Bmodel * | model, |
double | hires, | ||
double | lores, | ||
int | neg | ||
) |
Fits a shell model as a rigid body to a map.
*model | model. |
hires | high resolution limit. |
lores | low resolution limit. |
neg | flag to set contrast negative. |
The model map file name must be set and point to a valid file.
Bimage * model_shell_power_spectrum | ( | Bmodel * | model, |
Vector3< long > | size, | ||
Vector3< double > | origin, | ||
int | ft_size, | ||
int | ann_min, | ||
int | ann_max, | ||
double | hires, | ||
double | lores | ||
) |
Calculates a radial profile from a shell model.
*model | model. |
size | size of component density to extract. |
origin | origin for extracted densities. |
ft_size | Fourier transform size. |
ann_min | minimum annulus for rotational alignment. |
ann_max | maximum annulus for rotational alignment. |
hires | high resolution limit for cross-correlation. |
lores | low resolution limit for cross-correlation. |
The model map file name must be set and point to a valid file.
int model_shell_radial_profile | ( | Bmodel * | model | ) |
Calculates a radial profile from a shell model.
*model | model. |
The model map file name must be set and point to a valid file.