- Many fixes to the triple axis stuff

* update after a1-a6 drive
  * intrduction of targets
- POLDI writing
- Moved HKL calculation 4 TRICS to fourlib
This commit is contained in:
cvs
2002-01-25 14:48:50 +00:00
parent 8c043c8cd1
commit 1e60f3be82
39 changed files with 3513 additions and 1160 deletions

18
lomax.w
View File

@ -46,10 +46,15 @@ ever needed.
int window, int threshold, int steepness,
int *intensity);
int calculateCOG(int *iData, int xsize, int ysize,
int *i, int *j, int *intensity,
int *i, int *j, int *intensity, int *count,
int cogWindow,
float contour);
void calculateStatistics(int *iData, int xsize, int ysize,
float *average, float *maximum);
int wellFormed(int *iData, int xsize, int ysize,
int x, int y, int window, float contour,
int maxBad);
@}
testLocalMaxima checks if point i, j is a valid local maximum. It
@ -63,6 +68,15 @@ calculateCOG calculates the center of gravity for point i, j,. Points within a
calculation. The position of the maximum (i,j) and its intensity are
updated by calculateCOG.
calculateStatistics finds the average and the maximum value of the data
in iData.
wellFormed checks a candidate peak position at x, y for well
formedness. Basically it checks if there are points above
contour * maximum at the borders of the COG window. If this count is
larger then maxBad 0 is returned else 1. This should catch powder
lines and guard against overlapped peaks.
@o lomax.h @{
/*-------------------------------------------------------------------------