|
| HKL_data () |
| null constructor
|
|
| HKL_data (const HKL_info &hkl_info) |
| constructor: from parent hkl_info More...
|
|
| HKL_data (const HKL_info &hkl_info, const Cell &cell) |
| constructor: from parent hkl_info and cell More...
|
|
| HKL_data (const Spacegroup &spacegroup, const Cell &cell, const HKL_sampling &hkl_sampling) |
| [CLIPPER2] constructor: from spacegroup, cell and hkl_sampling More...
|
|
| HKL_data (const HKL_data_base &hkl_data) |
| [CLIPPER2] constructor: from another HKL_data object More...
|
|
void | init (const HKL_info &hkl_info, const Cell &cell) |
| initialiser: from parent hkl_info and cell More...
|
|
void | init (const Spacegroup &spacegroup, const Cell &cell, const HKL_sampling &hkl_sampling) |
| [CLIPPER2] initialiser: from spacegroup, cell, and HKL_sampling More...
|
|
void | init (const HKL_data_base &hkl_data) |
| [CLIPPER2] initialiser: from another HKL_data object More...
|
|
void | update () |
| update: synchornize info with parent HKL_info More...
|
|
String | type () const |
| get data type (a list of names corresponding to the im/export values) More...
|
|
bool | missing (const int &index) const |
| check if a data entry in the list is marked as 'missing' More...
|
|
void | set_null (const int &index) |
| set data entry in the list to its null value More...
|
|
int | data_size () const |
| return number of data elements in this type More...
|
|
String | data_names () const |
| return names of data elements in this type More...
|
|
void | data_export (const HKL &hkl, xtype array[]) const |
| conversion to array (for I/O) More...
|
|
void | data_import (const HKL &hkl, const xtype array[]) |
| conversion from array (for I/O) More...
|
|
void | mask (const HKL_data_base &mask) |
|
const T & | operator[] (const HKL_info::HKL_reference_index &i) const |
| get data by reflection HKL_reference_index
|
|
T & | operator[] (const HKL_info::HKL_reference_index &i) |
| set data by reflection HKL_reference_index
|
|
T | operator[] (const HKL_info::HKL_reference_coord &ih) const |
| get data by HKL_reference_coord More...
|
|
bool | get_data (const HKL_info::HKL_reference_coord &ih, T &data) const |
| get data by HKL_reference_coord (returns false if no equivalent hkl) More...
|
|
bool | set_data (const HKL_info::HKL_reference_coord &ih, const T &data) |
| set data by HKL_reference_coord (returns false if no equivalent hkl) More...
|
|
const T & | operator[] (const int &index) const |
| get data by reflection index
|
|
T & | operator[] (const int &index) |
| set data by reflection index
|
|
T | operator[] (const HKL &hkl) const |
| get data by hkl (returns missing if no equivalent hkl) More...
|
|
bool | get_data (const HKL &hkl, T &data) const |
| get data by hkl (returns false if no equivalent hkl) More...
|
|
bool | set_data (const HKL &hkl, const T &data) |
| set data by hkl (returns false if no equivalent hkl) More...
|
|
template<class C > |
void | compute (const C &op) |
| Basic computation: fill this data list by function call.
|
|
template<class S , class C > |
void | compute (const HKL_data< S > &src, const C &op) |
| Unary computation: fill this data list by computation from another.
|
|
template<class S1 , class S2 , class C > |
void | compute (const HKL_data< S1 > &src1, const HKL_data< S2 > &src2, const C &op) |
| Binary computation: fill this data list by computation from another.
|
|
const HKL_info & | base_hkl_info () const |
|
const Cell & | base_cell () const |
|
const ftype | invresolsq (const int &index) const |
|
const Range< ftype > | invresolsq_range () const |
|
const int | num_obs () const |
|
HKL_reference_index | first () const |
|
HKL_reference_index | first_data () const |
|
HKL_reference_index & | next_data (HKL_reference_index &ih) const |
|
HKL_data< T > & | operator= (const HKL_data< T > &other) |
| assignment operator: copies the data from another list More...
|
|
HKL_data< T > & | operator= (const T &value) |
| assignment operator: assigns a single value to the whole list More...
|
|
void | debug () const |
|
virtual void | init (const HKL_info &hkl_info, const Cell &cell) |
| initialiser: from parent hkl_info and cell More...
|
|
virtual void | init (const HKL_data_base &hkl_data) |
| initialiser: from another hkl_data More...
|
|
virtual void | init (const Spacegroup &spacegroup, const Cell &cell, const HKL_sampling &hkl_sampling) |
| [CLIPPER2] initialiser: from spacegroup, cell, and HKL_sampling More...
|
|
bool | is_null () const |
| test if object has been initialised More...
|
|
const HKL_info & | base_hkl_info () const |
| get the parent HKL_info object
|
|
const Cell & | base_cell () const |
| get the parent cell
|
|
const Spacegroup & | spacegroup () const |
| [CLIPPER2] get spacegroup
|
|
const Cell & | cell () const |
| [CLIPPER2] get cell
|
|
const Resolution & | resolution () const |
| [CLIPPER2] get resolution
|
|
const HKL_sampling & | hkl_sampling () const |
| [CLIPPER2] get HKL_sampling
|
|
const HKL_info & | hkl_info () const |
| [CLIPPER2] get HKL_info object
|
|
ftype | invresolsq (const int &index) const |
| get resolution by reflection index (based on true cell) More...
|
|
Range< ftype > | invresolsq_range () const |
| get resolution limits of the list (based on true cell and missing data) More...
|
|
int | num_obs () const |
| get number of observations in this list (based on missing data) More...
|
|
virtual void | update ()=0 |
| update: synchornize info with parent HKL_info More...
|
|
virtual String | type () const =0 |
| get data type (a list of names corresponding to the im/export values) More...
|
|
virtual bool | missing (const int &index) const =0 |
| check if a data entry in the list is marked as 'missing' More...
|
|
virtual void | set_null (const int &index)=0 |
| set data entry in the list to its null value More...
|
|
virtual int | data_size () const =0 |
| return number of data elements in this type More...
|
|
virtual String | data_names () const =0 |
| return names of data elements in this type More...
|
|
virtual void | data_export (const HKL &hkl, xtype array[]) const =0 |
| conversion to array (for I/O) More...
|
|
virtual void | data_import (const HKL &hkl, const xtype array[])=0 |
| conversion from array (for I/O) More...
|
|
virtual void | mask (const HKL_data_base &mask)=0 |
| mask the data by marking any data missing in 'mask' as missing More...
|
|
HKL_reference_index | first () const |
| return HKL_reference_index pointing to first reflection More...
|
|
HKL_reference_index | first_data () const |
| return HKL_reference_index pointing to first non-missing data More...
|
|
HKL_reference_index & | next_data (HKL_reference_index &ih) const |
| increment HKL_reference_index to next non-missing data More...
|
|
void | debug () const |
|
template<class T>
class clipper::HKL_data< T >
HKL_data<>
An actual hkl_data object, containing actual data of type T. This implements the generic interface, and in addition provides type-specific access functions.
- Note
- The following methods are inherited from HKL_data_base but are documented here for convenience: base_hkl_info(), base_cell(), invresolsq(), invresolsq_range(), num_obs(), first(), first_data(), next_data().