#include <fffear.h>

Public Member Functions | |
| 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 |
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::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::NXmap< T >::coord_map(), clipper::NXmap< T >::coord_orth(), clipper::Xmap< T >::first(), clipper::NXmap< T >::first(), clipper::Xmap< T >::grid_sampling(), clipper::Range< T >::include(), clipper::Interp_linear::interp(), clipper::Grid_range::max(), clipper::Range< T >::max(), clipper::Grid_range::min(), clipper::Range< T >::min(), clipper::Coord_frac::u(), clipper::Coord_frac::v(), and clipper::Coord_frac::w().
| bool clipper::FFFear_slow< T >::operator() | ( | Xmap< T > & | result, | |
| const NXmap< T > & | srchval, | |||
| const NXmap< T > & | srchwgt | |||
| ) | const [inline] |
1.5.5