clipper::SFweight_spline< T > Class Template Reference

Structure factor weighting by sigmaa-related spline method. More...

#include <sfweight.h>

Inheritance diagram for clipper::SFweight_spline< T >:

clipper::SFweight_base< T >

List of all members.

Public Member Functions

 SFweight_spline (const int n_reflns=1000, const int n_params=20, const int n_phases=24)
 constructor
 SFweight_spline (HKL_data< datatypes::F_phi< T > > &fb, HKL_data< datatypes::F_phi< T > > &fd, HKL_data< datatypes::Phi_fom< T > > &phiw, const HKL_data< datatypes::F_sigF< T > > &fo, const HKL_data< datatypes::F_phi< T > > &fc, const HKL_data< datatypes::Flag > &usage, const int n_reflns=1000, const int n_params=20)
 constructor: shorthand for constructor+operator
void init (const int n_reflns=1000, const int n_params=20, const int n_phases=24)
 initialise: from parameters
bool operator() (HKL_data< datatypes::F_phi< T > > &fb, HKL_data< datatypes::F_phi< T > > &fd, HKL_data< datatypes::Phi_fom< T > > &phiw, const HKL_data< datatypes::F_sigF< T > > &fo, const HKL_data< datatypes::F_phi< T > > &fc, const HKL_data< datatypes::Flag > &usage)
 Structure factor weighting (sigmaa) definition.
bool operator() (HKL_data< datatypes::F_phi< T > > &fb, HKL_data< datatypes::F_phi< T > > &fd, HKL_data< datatypes::Phi_fom< T > > &phiw, const HKL_data< datatypes::F_sigF< T > > &fo, const HKL_data< datatypes::ABCD< T > > &hl, const HKL_data< datatypes::F_phi< T > > &fc, const HKL_data< datatypes::Flag > &usage)
const std::vector< ftype > & params_scale ()
const std::vector< ftype > & params_error ()
void debug () const

Classes

struct  HLterms
struct  TargetResult


Detailed Description

template<class T>
class clipper::SFweight_spline< T >

Structure factor weighting by sigmaa-related spline method.

Perform structure factor weighting to obtain likelihood weights for structure factors.

This implementation uses a single list of reflections for both scaling and sigmaa, thus the only relevent usage flags are NONE/BOTH.

The number of spline parameters or the number of reflections per parameter may be specified. If either is zero, the other takes priority. If both are non-zero, a compromise value is used.


Member Function Documentation

template<class T>
bool clipper::SFweight_spline< T >::operator() ( HKL_data< datatypes::F_phi< T > > &  fb,
HKL_data< datatypes::F_phi< T > > &  fd,
HKL_data< datatypes::Phi_fom< T > > &  phiw,
const HKL_data< datatypes::F_sigF< T > > &  fo,
const HKL_data< datatypes::F_phi< T > > &  fc,
const HKL_data< datatypes::Flag > &  usage 
) [inline, virtual]

template<class T>
void clipper::SFweight_spline< T >::debug (  )  const [inline]


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

Generated on Mon Feb 18 18:09:34 2008 for Clipper_contrib by  doxygen 1.5.5