- added makeauxub to tasub

- fixes for MARS
- extended maximize to honour maxpts and the in360  flag
- added regression histmem driver
This commit is contained in:
koennecke
2006-10-20 14:54:39 +00:00
parent 9f668b7681
commit 4f069341f5
14 changed files with 623 additions and 38 deletions

View File

@ -124,6 +124,19 @@ double maCalcHorizontalCurvature(maCrystal data, double two_theta);
*/
double maCalcK(maCrystal data, double two_theta);
/*======================= reciprocal space =============================*/
/**
* make an auxiliary reflection which has the same sgu and sgl as r1, but
* an omega which is adjusted to the angle difference between r1 and
* the target. This is useful for generating an auxilairy UB during
* alignment.
* @param B The B matrix
* @param r1 The first reflection
* @param r2 a pointer to the second reflection, QH, QK, QL initialized
* @param ss The scattering sense at the sample
* @return 1 on success, a negative error code on failure.
*/
int makeAuxReflection(MATRIX B, tasReflection r1,
tasReflection *r2, int ss);
/**
* calculate a UB from two reflections and the cell.
* @param cell The lattice constant of the crystal