Set x and y pixel offsets and run number.

The run number is used as the first dimension axis for
simple count and save operations.

r1770 | ffr | 2007-04-01 14:36:09 +1000 (Sun, 01 Apr 2007) | 4 lines
This commit is contained in:
Ferdi Franceschini
2007-04-01 14:36:09 +10:00
committed by Douglas Clowes
parent e67510e6bd
commit 2d7cf89385
5 changed files with 55 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
# $Revision: 1.6 $
# $Date: 2007-03-31 01:27:52 $
# $Revision: 1.7 $
# $Date: 2007-04-01 04:36:09 $
# Author: Mark Lesha (mle@ansto.gov.au)
# Last revision by: $Author: ffr $
@@ -405,6 +405,10 @@ proc count_withbm {mode preset} {
proc save {} {
nxcreatefile nexus_hmscan.dic;
hmm_save nxscript entry1 0;
$nxobj makelink scanvar erun;
$nxobj putattribute erun axis 1;
$nxobj putattribute hmcounts signal 1;
$nxobj putattribute hmcounts axes run_number:x_pixel_offset:y_pixel_offset;
nxclosefile;
}
}