A unique reflection, containing a list of observations. More...
#include <hkl_unmerge.hh>
Public Member Functions | |
| reflection () | |
| dummy, don't use | |
| reflection (const Hkl &hkl, const int &index_obs1, const Dtype &s) | |
| constructor with index into observation_part list from hkl_unmerge_list object | |
| reflection (const reflection &refl) | |
| copy constructor, resets NextObs | |
| reflection & | operator= (const reflection &refl) |
| copy, resets NextObs | |
| void | store_last_index (const int &index_obs2) |
| store index of last part in observation_part list | |
| int | first_index () const |
| return 1st index | |
| int | last_index () const |
| return last index | |
| Hkl | hkl () const |
| return reduced hkl | |
| void | add_observation_list (const std::vector< observation > &obs_in) |
| add in an observation | |
| Rtype | sum_partials (int &Nfull, int &Npart, int &Nscaled) |
| add all partials, no scales, returns smallest sigma found, return = -1 if no valid observations | |
| int | num_observations () const |
| return number of observations | |
| int | NvalidObservations () const |
| return number of valid observations | |
| observation | get_observation (const int &lobs) const |
| return lobs'th observation | |
| int | next_observation (observation &obs) const |
| Return next valid observation in obs, returns index number, = -1 if end. | |
| void | reset () const |
| Reset NextObs count. | |
| void | replace_observation (const observation &obs) |
| replace current observation with updated version | |
| void | replace_observation (const observation &obs, const int &lobs) |
| replace lobs'th observation with updated version | |
| void | CountNValid () |
| Rtype | invresolsq () const |
| return 1/d^2 | |
| void | ResetObsAccept (ObservationFlagControl &ObsFlagControl) |
| Reset observation accepted flags to allow for acceptance of observations flagged as possible errors. | |
| void | SetStatus (const int &istat) |
| set status (internal use) | |
| int | Status () const |
| return status (internal use) | |
A unique reflection, containing a list of observations.
| scala::reflection::reflection | ( | const Hkl & | hkl, | |
| const int & | index_obs1, | |||
| const Dtype & | s | |||
| ) |
constructor with index into observation_part list from hkl_unmerge_list object
| hkl | hkl indices | |
| index_obs1 | index of first part in observation_part list | |
| s | 1/d^2 (invresolsq) |
| Rtype scala::reflection::sum_partials | ( | int & | Nfull, | |
| int & | Npart, | |||
| int & | Nscaled | |||
| ) |
add all partials, no scales, returns smallest sigma found, return = -1 if no valid observations
On exit: Nfull, number of fulls; Npart, number of partials; Nscaled, number scaled
1.6.3