IMP logo
Static Public Member Functions
IMP::em::CoarseConvolution Class Reference

Detailed Description

Convolutes two grids.

The pixels involved are derived from the positions of N particles.

List of all members.

Static Public Member Functions

static float convolution (const DensityMap *em_map, DensityMap *model_map, float voxel_data_threshold, bool recalc_ccnormfac=true)

Member Function Documentation

static float IMP::em::CoarseConvolution::convolution ( const DensityMap em_map,
DensityMap model_map,
float  voxel_data_threshold,
bool  recalc_ccnormfac = true 
)
static

Cross correlation coefficient between the em density and the density of a model. moddens threshold can be specified that is checked in moddens to reduce elements of summation

Note:
This is not the local CC function
Parameters:
[in]em_mapthe target map (experimentally determined)
[in]model_mapthe sampled density map of the model
[in]voxel_data_thresholdvoxels with value lower than threshold in model_map are not summed (avoid calculating correlation on voxels below the threshold)
[in]recalc_ccnormfacIgnored. The purpose is to determines wheather the model_map should be normalized prior to the correlation calculation. false is faster, but potentially innacurate
Returns:
the convolution value between two density maps
Note:
recalc_ccnormfac is ignored.

The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:33 for IMP by doxygen 1.8.1