Now have hm and bm scans. r1354 | ffr | 2006-12-08 09:12:48 +1100 (Fri, 08 Dec 2006) | 3 lines
70 lines
3.5 KiB
Plaintext
70 lines
3.5 KiB
Plaintext
##NXDICT-1.0
|
|
#----------------------------------------------------------------------------
|
|
# NeXus dictionary file for the SINQ instrument DMC and HRPT
|
|
#
|
|
# DO NOT EDIT WHEN YOU DO NOT KNOW WHAT YOU ARE DOING!
|
|
# This file determines the placement of data items in the Powder NeXus
|
|
# data file. Your data may not be readable if this file is messed up.
|
|
#
|
|
# Mark Koennecke, May 2004
|
|
#----------------------------------------------------------------------------
|
|
entryName=entry1
|
|
dataName=histogram
|
|
inst=HRPD
|
|
detector=hrdetector
|
|
monochromator=monochromator
|
|
thetadim=128
|
|
scan_variable=scanvar
|
|
#---------- NXentry level
|
|
etitle=/$(entryName),NXentry/SDS title -type NX_CHAR
|
|
estart=/$(entryName),NXentry/SDS start_time -type NX_CHAR
|
|
eend=/$(entryName),NXentry/SDS end_time -type NX_CHAR
|
|
#----------------- NXinstrument
|
|
iname=/$(entryName),NXentry/$(inst),NXinstrument/SDS name -type NX_CHAR \
|
|
-rank 1 -dim {132}
|
|
|
|
|
|
#----------------- NXmonitor
|
|
mmode=/$(entryName),NXentry/monitor,NXmonitor/SDS mode -type NX_CHAR
|
|
mpreset=/$(entryName),NXentry/monitor,NXmonitor/SDS preset -type NX_FLOAT32
|
|
mdata=/$(entryName),NXentry/monitor,NXmonitor/SDS data -type NX_INT32
|
|
mdistance=/$(entryName),NXentry/monitor,NXmonitor/SDS distance -type NX_FLOAT32 -attr {units,metre}
|
|
|
|
#----------------- NXsource
|
|
sname=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS name \
|
|
-type NX_CHAR -rank 1
|
|
stype=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS type -type NX_CHAR -rank 1
|
|
sprobe=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS probe -type NX_CHAR -rank 1
|
|
#----------------- NXcrystal
|
|
clambda=/$(entryName),NXentry/$(inst),NXinstrument/Ge113,NXcrystal/SDS wavelength -type NX_FLOAT32 -attr {units,Angstrom}
|
|
ctype=/$(entryName),NXentry/$(inst),NXinstrument/Ge113,NXcrystal/SDS type -type NX_CHAR
|
|
#------------- counter
|
|
#-------------- Detector
|
|
# 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}
|
|
|
|
dcounts=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
|
|
data -type NX_INT32 -LZW -rank 2 -dim {$(dim0),$(dim1)} \
|
|
-attr {signal,1}
|
|
|
|
deff=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/calibration,NXdata/SDS efficiency -type NX_INT32 -LZW -rank 2 -dim {$(dim0),$(dim1)}
|
|
|
|
ddesc=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS description -type NX_CHAR
|
|
|
|
dtype=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS type -type NX_CHAR
|
|
|
|
dlayout=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS layout -type NX_CHAR
|
|
#--------------- NXmonochromator
|
|
mtth=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXmonochromator/mtth,NXpositioner/SDS value -type NX_FLOAT32 -attr {units,degree} -attr {long_name,mtth}
|
|
#--------------- 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}
|
|
stth=/$(entryName),NXentry/sample,NXsample/stth,NXpositioner/SDS value -type NX_FLOAT32 -attr {units,degree} -attr {long_name,stth}
|
|
#----------------NXdata ------------------------------------------------
|
|
scandata=/$(entryName),NXentry/scan_data,NXdata/NXVGROUP
|
|
scanvar=/$(entryName),NXentry/scan_variable,NXdata/NXVGROUP
|
|
#histogram=/$(entryName),NXentry/histogram,NXdata/NXVGROUP
|
|
#scanvar=/$(entryName),NXentry/$(scan_variable),NXdata/NXVGROUP
|
|
|