Origin matching method using fast translation function. More...
#include <originmatch.h>
Public Member Functions | |
OriginMatch (const ftype resol_limit=0.1) | |
constructor | |
OriginMatch (bool &invert, Coord_frac &shift, const HKL_data< datatypes::F_phi< T > > &fphi1, const HKL_data< datatypes::F_phi< T > > &fphi2, const ftype resol_limit=0.1) | |
constructor: shorthand for constructor+operator | |
bool | operator() (bool &invert, Coord_frac &shift, const HKL_data< datatypes::F_phi< T > > &fphi1, const HKL_data< datatypes::F_phi< T > > &fphi2) const |
Origin matching function definition. |
Origin matching method using fast translation function.
Perform origin matching by performing a fast translation function. Both hands are tested if possible.
bool clipper::OriginMatch< T >::operator() | ( | bool & | invert, | |
Coord_frac & | shift, | |||
const HKL_data< datatypes::F_phi< T > > & | fphi1, | |||
const HKL_data< datatypes::F_phi< T > > & | fphi2 | |||
) | const [inline, virtual] |
Origin matching function definition.
In the implementations, this function will do the actual origin matching.
invert | True if the phases must be inverted. | |
shift | The coordinate shift required to match the phases. fphi1 The first set of map coefficients. fphi2 The second set of map coefficients. |
Implements clipper::OriginMatch_base< T >.
References clipper::Xmap_base::Map_reference_index::coord(), clipper::Coord_grid::coord_frac(), clipper::datatypes::F_phi< dtype >::f(), clipper::HKL_info::first(), clipper::Spgr_descr::generator_ops(), clipper::HKL_info::HKL_reference_index::hkl(), clipper::Spacegroup::invariant_under_change_of_hand(), clipper::Xmap_base::Map_reference_index::last(), clipper::HKL_info::HKL_reference_index::last(), clipper::Resolution::limit(), clipper::Util::max(), clipper::datatypes::F_phi< dtype >::missing(), clipper::Xmap_base::Map_reference_index::next(), clipper::HKL_info::HKL_reference_index::next(), clipper::Grid_sampling::nu(), clipper::Grid_sampling::nv(), clipper::Grid_sampling::nw(), and clipper::datatypes::F_phi< dtype >::phi().