FFT-based Convolution_search implementation. More...
#include <convolution_search.h>
Public Member Functions | |
| Convolution_search_slow (const Xmap< T > &xmap) | |
| constructor | |
| Convolution_search_slow (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 |
FFT-based Convolution_search implementation.
This implementation is currently unoptimised, but much faster then the simple implementation.
| bool clipper::Convolution_search_slow< 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.
| 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. |
Implements clipper::Convolution_search_base< T >.
References clipper::Interp_linear::can_interp(), clipper::Xmap< T >::cell(), clipper::Xmap_base::Map_reference_coord::coord(), clipper::Xmap_base::Map_reference_index::coord(), clipper::NXmap_base::Map_reference_index::coord(), clipper::Coord_orth::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::NXmap_base::Map_reference_index::coord_orth(), clipper::Xmap< T >::first(), clipper::NXmap< T >::first(), clipper::Xmap< T >::grid_sampling(), clipper::Range< T >::include(), clipper::Interp_linear::interp(), clipper::Xmap_base::Map_reference_index::last(), clipper::NXmap_base::Map_reference_index::last(), clipper::Grid_range::max(), clipper::Range< T >::max(), clipper::Grid_range::min(), clipper::Range< T >::min(), clipper::Xmap_base::Map_reference_index::next(), clipper::NXmap_base::Map_reference_index::next(), clipper::Xmap_base::Map_reference_coord::next_u(), clipper::Xmap_base::Map_reference_coord::next_v(), clipper::Xmap_base::Map_reference_coord::next_w(), clipper::NXmap_base::Map_reference_index::set_coord(), clipper::Coord_grid::u(), clipper::Coord_frac::u(), clipper::Coord_grid::v(), clipper::Coord_frac::v(), clipper::Coord_grid::w(), and clipper::Coord_frac::w().
| bool clipper::Convolution_search_slow< T >::operator() | ( | Xmap< T > & | result, | |
| const NXmap< T > & | srchval | |||
| ) | const [inline] |
References clipper::RTop_orth::identity().
1.6.1