Clipper
Public Member Functions | List of all members
clipper::BasisFn_binner Class Reference

simple binning basis function More...

#include <resol_basisfn.h>

Inheritance diagram for clipper::BasisFn_binner:
clipper::BasisFn_base

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 > &params) const
 the value of the resolution function (override for speed)
 
const BasisFn_base::Fderivfderiv_s (const ftype &s, const std::vector< ftype > &params) 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 > &params) const
 the value of the resolution function (override for speed)
 
const BasisFn_base::Fderivfderiv (const HKL &hkl, const Cell &cell, const std::vector< ftype > &params) const
 the derivatives of the resolution function w.r.t. the parameters
 
- Public Member Functions inherited from clipper::BasisFn_base
 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

- Public Types inherited from clipper::BasisFn_base
enum  FNtype { GENERAL, LINEAR }
 enumeration of function types: optionally used to improve convergence
 
- Protected Member Functions inherited from clipper::BasisFn_base
Fderivresult () const
 provide write access to result for subclasses
 
virtual ~BasisFn_base ()
 destructor
 

Detailed Description

simple binning basis function

This class bins reflections on the basis of resolution, i.e. it generates a resolution function from spherical shells.


The documentation for this class was generated from the following files: