Clipper
Public Member Functions | List of all members
clipper::TargetFn_scaleEsq< T > Class Template Reference

|E|2 scaling target More...

#include <resol_targetfn.h>

Inheritance diagram for clipper::TargetFn_scaleEsq< T >:
clipper::TargetFn_base

Public Member Functions

 TargetFn_scaleEsq (const HKL_data< T > &hkl_data_)
 constructor: takes the datalist against which to calc target
 
Rderiv rderiv (const HKL_info::HKL_reference_index &ih, const ftype &fh) const
 return the value and derivatives of the target function
 
FNtype type () const
 the type of the function: optionally used to improve convergence
 
- Public Member Functions inherited from clipper::TargetFn_base
virtual ~TargetFn_base ()
 destructor
 
void debug (const HKL_info &hkl_info) const
 test that the residuals, gradients, and curvatures are consistent
 

Additional Inherited Members

- Public Types inherited from clipper::TargetFn_base
enum  FNtype { GENERAL, QUADRATIC }
 enumeration of function types: optionally used to improve convergence
 

Detailed Description

template<class T>
class clipper::TargetFn_scaleEsq< T >

|E|2 scaling target

This class implements the target function for calculating the scale factor to normalise to <|E|2> = 1. Note that this is not the same as dividing by <|E|2>, except in a few special cases, e.g. a simple resolution bins calculation. The resulting targen function is the square of the value by which |E| should be multiplied to acheive the correct normalisation.


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