FFT-based fffear implementation. More...
#include <fffear.h>
Public Member Functions | |
| FFFear_slow () | |
| constructor | |
| FFFear_slow (const Xmap< T > &xmap) | |
| constructor | |
| FFFear_slow (Xmap< T > &result, const NXmap< T > &srchval, const NXmap< T > &srchwgt, 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 NXmap< T > &srchwgt, const NX_operator&nxop) const |
| bool | operator() (Xmap< T > &result, const NXmap< T > &srchval, const NXmap< T > &srchwgt) const |
FFT-based fffear implementation.
This implementation is currently unoptimised, but much faster then the simple implementation.
| bool clipper::FFFear_slow< T >::operator() | ( | Xmap< T > & | result, | |
| const NXmap< T > & | srchval, | |||
| const NXmap< T > & | srchwgt, | |||
| const NX_operator& | nxop | |||
| ) | const [inline, 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. |
Implements clipper::FFFear_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::FFFear_slow< T >::operator() | ( | Xmap< T > & | result, | |
| const NXmap< T > & | srchval, | |||
| const NXmap< T > & | srchwgt | |||
| ) | const [inline] |
References clipper::RTop_orth::identity().
1.6.1