Base class for Fast Fourier Feature recongition (FFFEAR) methods. More...
#include <function_object_bases.h>
Public Member Functions | |
| virtual bool | operator() (Xmap< T > &result, const NXmap< T > &srchval, const NXmap< T > &srchwgt, const NX_operator&nxop) const =0 |
| virtual | ~FFFear_base () |
| destructor | |
Base class for Fast Fourier Feature recongition (FFFEAR) methods.
: constructor or initialiser. This allows precalculation of some of the coefficients required. The () operator performs an actual search in that map for a given target.
| virtual bool clipper::FFFear_base< T >::operator() | ( | Xmap< T > & | result, | |
| const NXmap< T > & | srchval, | |||
| const NXmap< T > & | srchwgt, | |||
| const NX_operator& | nxop | |||
| ) | const [pure virtual] |
In the implementations, this function will do the actual fffear calculation.
| result | The fffear residual map, containing the value of the search function for each offset of the search model. The search function is a least squares residual, or may be a negative log likelihood, therefore it is positive and low values represent better fits. | |
| srchval | Map of the target density for which to search. | |
| srchwgt | Map of the target weights for each density point. | |
| nxop | Operator relating the coordinate frames of the search target and the crystallographic map, used to rotate the search target. |
Implemented in clipper::FFFear_slow< T >, and clipper::FFFear_fft< T >.
1.6.1