#include <hkl_data.h>
This is the virtual base for the typed hkl_data objects. It exists to guarantee and interface by which data can be managed without knowledge of the specific data type.
[protected]
initialiser: from parent hkl_info and cell
Initialise the object using a given reflection list and cell.
Reimplemented in clipper::CHKL_data< T >, clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References clipper::HKL_info::cell(), cell(), clipper::Cell::equals(), and hkl_info().
Referenced by init().
[virtual]
initialiser: from another hkl_data
Initialise the object using a given reflection list and cell.
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
[virtual]
[CLIPPER2] initialiser: from spacegroup, cell, and HKL_sampling
Initialise the object using a given spacegroup, cell, and sampling.
Reimplemented in clipper::CHKL_data< T >, clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References clipper::ObjectCache< T >::cache(), cacheref, cell(), hkl_sampling(), init(), clipper::HKL_sampling::is_null(), clipper::Cell::is_null(), clipper::Spacegroup::is_null(), clipper::HKL_sampling::resolution(), and spacegroup().
test if object has been initialised
References clipper::Cell::is_null(), and clipper::HKL_info::is_null().
Referenced by clipper::CHKL_data< T >::update().
get resolution by reflection index (based on true cell)
Return the resolution of a particular reflection. If the cell of this list closely matches (to within 0.5A) the cell of the parent list, this is a simple lookup, otherwise a metric calculation is required.
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References base_cell(), base_hkl_info(), clipper::HKL_info::hkl_of(), clipper::HKL::invresolsq(), and clipper::HKL_info::invresolsq().
Referenced by clipper::HKL_info::HKL_reference_base::invresolsq(), and invresolsq_range().
get resolution limits of the list (based on true cell and missing data)
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References first_data(), clipper::Range< T >::include(), clipper::HKL_info::HKL_reference_index::index(), invresolsq(), clipper::HKL_info::HKL_reference_index::last(), and next_data().
get number of observations in this list (based on missing data)
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References first_data(), clipper::HKL_info::HKL_reference_index::last(), and next_data().
return HKL_reference_index pointing to first reflection
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
return HKL_reference_index pointing to first non-missing data
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References next_data().
Referenced by clipper::Resolution_ordinal::init(), invresolsq_range(), and num_obs().
increment HKL_reference_index to next non-missing data
Reimplemented in clipper::HKL_data< T >, clipper::HKL_data< T1 >, clipper::HKL_data< T2 >, clipper::HKL_data< datatypes::F_sigF< float > >, and clipper::HKL_data< datatypes::ABCD< float > >.
References clipper::HKL_info::HKL_reference_index::index(), clipper::HKL_info::HKL_reference_index::last(), missing(), and clipper::HKL_info::HKL_reference_index::next().
Referenced by first_data(), clipper::Resolution_ordinal::init(), invresolsq_range(), and num_obs().