Public Member Functions
clipper::datatypes::Compute_scale_u< T > Class Template Reference

#include <hkl_compute.h>

List of all members.

Public Member Functions

 Compute_scale_u (const ftype &s, const ftype &u)
 constructor: takes scale, U value
const T operator() (const HKL_info::HKL_reference_index &ih, T data) const
 conv op

Detailed Description

template<class T>
class clipper::datatypes::Compute_scale_u< T >

Apply scale and U to any scalable datatype

Constructor & Destructor Documentation

template<class T >
clipper::datatypes::Compute_scale_u< T >::Compute_scale_u ( const ftype s,
const ftype u 

constructor: takes scale, U value

DEPRECATED: This operator applies the scale factor against intensities and the U value against magnitudes, which is counterintuitive. Compute_scale_u_iso is more intutive.

Construct conversion operator to scale list according to the formula I_new = s.exp( b.|h|^2/2 ) I_old or F_new^2 = s.exp( b.|h|^2/2 ) F_old^2 where |h| = invresolsq.

sThe intensity scale factor.
uThe temperature factor (U-value).

References clipper::Util::twopi2().

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