![]() |
Bsoft 2.1.4
Bernard's software package
|
Headers of functions to calculate estimates of the fitting of molecules to maps. More...
Functions | |
double | molgroup_map_energy (Bmolgroup *molgroup, Bimage *map, double Kmap) |
Energy calculation of a molecule fit into a map. More... | |
double | mol_map_energy (Bmolecule *mol, Bimage *map, double Kmap) |
Energy calculation of a molecule fit into a map. More... | |
double | molgroup_map_correlation (Bmolgroup *molgroup, Bimage *map) |
Calculation of the fit of a molecule group into a map as a correlation coefficient. More... | |
double | mol_map_correlation (Bmolecule *mol, Bimage *map) |
Calculation of the fit of a molecule into a map as a correlation coefficient. More... | |
double | molgroup_bond_fit_map_energy (Bmolgroup *molgroup, Bimage *map, double Kmap, int steps) |
Energy calculation of a molecule fit into a map. More... | |
Headers of functions to calculate estimates of the fitting of molecules to maps.
Calculation of the fit of a molecule into a map as a correlation coefficient.
*mol | molecule. |
*map | map. |
Energy calculation of a molecule fit into a map.
*mol | molecule. |
*map | map. |
Kmap | map energy constant. |
Energy calculation of a molecule fit into a map.
*molgroup | molecule group. |
*map | map. |
Kmap | map energy constant. |
steps | number of steps along a bond. |
The energy is the negative of the density at each step along a bond, rho, plus a fudge factor to make it positive: E = Kmap * ((-sum(rho)/n + avg)/std + 10) where n is the number of voxels sampled, avg is the average of the map, and std is the standard deviation of the map. The force associated with this energy is the gradient at each step: Fx = Kmap * (rho(x+1) - rho(x-1))/(2*u) where u is the voxel size. The contribution of a force to an atom at a step is weighted by the fractional distance the step is away from the atom along the bond.
Calculation of the fit of a molecule group into a map as a correlation coefficient.
*molgroup | molecule group. |
*map | map. |