clipper::Convolution_search_fft< T > Class Template Reference

FFT-based Convolution_search implementation. More...

#include <convolution_search.h>

Inheritance diagram for clipper::Convolution_search_fft< T >:
clipper::Convolution_search_base< T >

List of all members.

Public Member Functions

 Convolution_search_fft (const Xmap< T > &xmap)
 constructor
 Convolution_search_fft (Xmap< T > &result, const NXmap< T > &srchval, const Xmap< T > &xmap, const NX_operator&nxop)
 constructor: shorthand for constructor+operator
void init (const Xmap< T > &xmap)
 initialiser: initialise with the given target Xmap
bool operator() (Xmap< T > &result, const NXmap< T > &srchval, const NX_operator&nxop) const
bool operator() (Xmap< T > &result, const NXmap< T > &srchval) const

Detailed Description

template<class T>
class clipper::Convolution_search_fft< T >

FFT-based Convolution_search implementation.

This implementation is currently unoptimised, but much faster then the simple implementation.


Member Function Documentation

template<class T >
bool clipper::Convolution_search_fft< T >::operator() ( Xmap< T > &  result,
const NXmap< T > &  srchval,
const NX_operator nxop 
) const [inline, virtual]

In the implementations, this function will do the actual convolution search calculation.

Parameters:
result The convolution search 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.
nxop Operator relating the coordinate frames of the search target and the crystallographic map, used to rotate the search target.
Returns:
true on success.

Implements clipper::Convolution_search_base< T >.

References clipper::Interp_linear::can_interp(), clipper::NXmap_base::Map_reference_index::coord(), clipper::Coord_grid::coord_frac(), clipper::NX_operator::coord_frac(), clipper::Coord_map::coord_grid(), clipper::NX_operator::coord_map(), clipper::Coord_frac::coord_map(), clipper::Coord_grid::coord_map(), clipper::FFTmap_p1::cplx_data(), clipper::FFTmap_p1::fft_h_to_x(), clipper::FFTmap_p1::fft_x_to_h(), clipper::Xmap< T >::first(), clipper::NXmap< T >::first(), clipper::FFTmap_p1::grid_real(), clipper::FFTmap_p1::grid_reci(), clipper::Range< T >::include(), clipper::Interp_linear::interp(), clipper::NXmap_base::Map_reference_index::last(), clipper::Range< T >::max(), clipper::Range< T >::min(), clipper::NXmap_base::Map_reference_index::next(), clipper::Grid::nu(), clipper::Grid::nv(), clipper::Grid::nw(), clipper::FFTmap_p1::real_data(), clipper::Grid_sampling::size(), clipper::Coord_grid::u(), clipper::Coord_frac::u(), clipper::Coord_grid::unit(), clipper::Coord_grid::v(), clipper::Coord_frac::v(), clipper::Coord_grid::w(), and clipper::Coord_frac::w().

template<class T >
bool clipper::Convolution_search_fft< T >::operator() ( Xmap< T > &  result,
const NXmap< T > &  srchval 
) const [inline]

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

Generated on 4 Jan 2010 for Clipper_contrib by  doxygen 1.6.1