Clipper
|
simple binning basis function More...
#include <resol_basisfn.h>
Public Member Functions | |
BasisFn_binner (const HKL_info &hklinfo, const int &nbins_, const ftype power=1.0) | |
constructor: include whole reflection list in histogram | |
BasisFn_binner (const HKL_data_base &hkldata, const int &nbins_, const ftype power=1.0) | |
constructor: include only non-missing reflections in histogram | |
ftype | f_s (const ftype &s, const std::vector< ftype > ¶ms) const |
the value of the resolution function (override for speed) | |
const BasisFn_base::Fderiv & | fderiv_s (const ftype &s, const std::vector< ftype > ¶ms) const |
the derivative of the resolution function w.r.t. the parameters | |
FNtype | type () const |
the type of the function: optionally used to improve convergence | |
int | num_diagonals () const |
number of non-zero diagonals in the upper triangle of the curvatures | |
ftype | f (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const |
the value of the resolution function (override for speed) | |
const BasisFn_base::Fderiv & | fderiv (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const |
the derivatives of the resolution function w.r.t. the parameters | |
![]() | |
BasisFn_base () | |
null constructor | |
BasisFn_base (const int &np) | |
constructor: takes number of parameters | |
const int & | num_params () const |
the number of parameters of this basis function | |
Additional Inherited Members | |
![]() | |
enum | FNtype { GENERAL, LINEAR } |
enumeration of function types: optionally used to improve convergence | |
![]() | |
Fderiv & | result () const |
provide write access to result for subclasses | |
virtual | ~BasisFn_base () |
destructor | |
simple binning basis function
This class bins reflections on the basis of resolution, i.e. it generates a resolution function from spherical shells.