Prototype file writing support and extending hipadaba to counters and histmem.

r1328 | ffr | 2006-11-30 08:28:47 +1100 (Thu, 30 Nov 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-11-30 08:28:47 +11:00
committed by Douglas Clowes
parent e5365fffdb
commit 5eeafb119e
5 changed files with 32 additions and 40 deletions

View File

@@ -21,8 +21,6 @@ eend=/$(entryName),NXentry/SDS end_time -type NX_CHAR
iname=/$(entryName),NXentry/$(inst),NXinstrument/SDS name -type NX_CHAR \
-rank 1 -dim {132}
#----------------- NXdata
dname=/$(entryName),NXentry/$(dataName),NXdata/SDS name -type NX_CHAR \
#----------------- NXmonitor
mmode=/$(entryName),NXentry/monitor,NXmonitor/SDS mode -type NX_CHAR
@@ -37,19 +35,6 @@ sprobe=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS probe -typ
#----------------- NXcrystal
clambda=/$(entryName),NXentry/$(inst),NXinstrument/Ge113,NXcrystal/SDS wavelength -type NX_FLOAT32 -attr {units,Angstrom}
#------------- counter
cter_mode=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
CounterMode -type NX_CHAR -rank 1 -dim {30}
cter_preset=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
Preset
cter_time=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
time
cter_01=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
Monitor -type NX_INT32 -attr {units,counts}
cter_00=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
beam_monitor -type NX_INT32 -attr {units,counts}
cter_04=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
proton_monitor -type NX_INT32 -attr {units,counts}
#-------------- histogram data
dradius=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS distance -type NX_FLOAT32
dtheta=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS polar_angle -type NX_FLOAT32 -LZW -rank 1 -dim {$(thetadim)} -attr {units,degree}
@@ -65,23 +50,9 @@ ddesc=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS des
dtype=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS type -type NX_CHAR
dlayout=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS layout -type NX_CHAR
#dthst=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
# two_theta_start -attr {units,degree}
#dtstep=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
# Step -attr {units,degree}
#dtnstep=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
# no_of_steps -type NX_INT32
#--------------- NXsample
saname=/$(entryName),NXentry/sample,NXsample/SDS name -type NX_CHAR
sarot=/$(entryName),NXentry/sample,NXsample/SDS rotation_angle -type NX_FLOAT32 -attr {units,degree}
stemp=/$(entryName),NXentry/sample,NXsample/SDS sample_temperature -attr {units,K}
smean=/$(entryName),NXentry/sample,NXsample/SDS temperature_mean -attr {units,K}
stddev=/$(entryName),NXentry/sample,NXsample/SDS temperature_stddev -attr {units,K}
mfield=/$(entryName),NXentry/sample,NXsample/SDS magfield -attr {units,T}
saangle=/$(entryName),NXentry/sample,NXsample/SDS sample_table_rotation \
-attr {units,degree}
smur=/$(entryName),NXentry/sample,NXsample/SDS sample_mur \
-attr {units,degree}
#----------------NXdata ------------------------------------------------
dana=/$(entryName),NXentry/data,NXdata/NXVGROUP