Clipper
clipper::datatypes::F_phi< dtype > Class Template Reference

Reflection data type: F + phi model or map coeff (e.g. Fcalc, Fbest). More...

#include <hkl_datatypes.h>

Inheritance diagram for clipper::datatypes::F_phi< dtype >:
clipper::Datatype_base

Public Member Functions

 F_phi (const dtype &f, const dtype &phi)
void set_null ()
void friedel ()
void shift_phase (const ftype &dphi)
bool missing () const
void data_export (xtype array[]) const
void data_import (const xtype array[])
void scale (const ftype &s)
 this type is scalable - apply magnitude scale factor
const dtype & f () const
const dtype & phi () const
dtype & f ()
dtype & phi ()
dtype a () const
 read real part
dtype b () const
 read imag part
 F_phi (const std::complex< dtype > c)
 convert from complex
 operator std::complex< dtype > () const
 convert to complex
dtype resolve (const dtype phi)
 resolve along phase direction
const F_phi< dtype > & norm ()
 tidy up so that real part is positive and phase 0...twopi

Static Public Member Functions

static String type ()
static int data_size ()
static String data_names ()

Detailed Description

template<class dtype>
class clipper::datatypes::F_phi< dtype >

Reflection data type: F + phi model or map coeff (e.g. Fcalc, Fbest).


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