|
Bsoft
2.1.0
Bernard's software package
|
Functions to calculate estimates of the fitting of molecules to maps. More...
Go to the source code of this file.
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... | |
Variables | |
| int | verbose |
Functions to calculate estimates of the fitting of molecules to maps.
Definition in file mol_map_energy.cpp.
Calculation of the fit of a molecule into a map as a correlation coefficient.
| *mol | molecule. |
| *map | map. |
Definition at line 185 of file mol_map_energy.cpp.
Energy calculation of a molecule fit into a map.
| *mol | molecule. |
| *map | map. |
| Kmap | map energy constant. |
Definition at line 83 of file mol_map_energy.cpp.
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.
Definition at line 250 of file mol_map_energy.cpp.
Calculation of the fit of a molecule group into a map as a correlation coefficient.
| *molgroup | molecule group. |
| *map | map. |
Definition at line 128 of file mol_map_energy.cpp.
Energy calculation of a molecule fit into a map.
| *molgroup | molecule group. |
| *map | map. |
| Kmap | map energy constant. |
Definition at line 23 of file mol_map_energy.cpp.
|
extern |