scala::Xdataset Class Reference

Crystal/Dataset object. More...

#include <hkl_datatypes.hh>

List of all members.

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
Scellcell ()
 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

Detailed Description

Crystal/Dataset object.

for these purposes we are not really interested in the crystal level in the hierarchy, just datasets


Member Function Documentation

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


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends
Generated on Tue Mar 1 11:22:31 2011 for Pointless by  doxygen 1.6.3