Crystal/Dataset object. More...
#include <hkl_datatypes.hh>
Public Member Functions | |
| Xdataset (const PxdName &pxdname, const Scell &cell, const float &wavel, const int &setid) | |
| constructor from names, cell, wavelength, ID index | |
| void | add_batch (const int &batch_num) |
| Add batch number to list for this dataset. | |
| void | ClearBatchList () |
| clear batch list | |
| int | num_batches () const |
| void | change_basis (const ReindexOp &reindex_op) |
| change basis: reindex to get new cell | |
| void | AddRunIndex (const int &RunIndex) |
| add to run index list | |
| void | ClearRunList () |
| clear run index list | |
| std::vector< int > | RunIndexList () const |
| return run index list | |
| PxdName | pxdname () const |
| return PXD names | |
| int | setid () const |
| get set ID index | |
| int & | setid () |
| set set ID index | |
| Scell | cell () const |
| return cell | |
| Scell & | cell () |
| set cell | |
| float | wavelength () const |
| return wavelength | |
| float & | wavelength () |
| set wavelength | |
| float | Mosaicity () const |
| return average mosaicity | |
| float & | Mosaicity () |
| set average mosaicity | |
| std::string | formatPrint () const |
| format | |
| void | AddCellWavelength (const Scell &newcell, const float &wavel) |
| add in another cell and wavelength | |
| void | AverageCellWavelength () |
| average multiple cells and wavelengths | |
| int | NumberofCells () const |
| return number of cells/wavelengths | |
| std::string | formatAllCells () const |
| < format cell & wavelength list if more than one | |
| double | WorstDeviation () const |
| return worst deviation (A), = 0 if only one | |
Friends | |
| bool | operator== (const Xdataset &a, const Xdataset &b) |
| equality, just tests pxdname | |
Crystal/Dataset object.
for these purposes we are not really interested in the crystal level in the hierarchy, just datasets
| void scala::Xdataset::AverageCellWavelength | ( | ) |
average multiple cells and wavelengths
average multiple cells and wavelengths, return false if they differ by more than tolerance
| std::string scala::Xdataset::formatAllCells | ( | ) | const |
< format cell & wavelength list if more than one
format cell & wavelength list if more than one
| int scala::Xdataset::num_batches | ( | ) | const [inline] |
number of batches
1.6.3