[Nexus] Question about links
POIRIER Stephane
stephane.poirier at synchrotron-soleil.fr
Tue Mar 14 10:21:49 GMT 2006
Hello,
I have a question about the way of making links in a NeXus file.
I can read in this page http://www.nexus.anl.gov/mediawiki/index.php?title=NXmonotas-NIAC2006 the following part of a meta-dtd :
<NXdata name="data">
<Qh NAPIlink="NXentry/NXsample/Qh" />
<Qk NAPIlink="NXentry/NXsample/Qk" />
<Ql NAPIlink="NXentry/NXsample/Ql" />
<energy_transfer NAPIlink="NXentry/NXsample/energy_transfer" />
<counts NAPIlink="NXentry/NXinstrument/detector/counts" />
<count_start NAPIlink="NXentry/NXtimer/start" />
<count_duration NAPIlink="NXentry/NXtimer/duration" />
<count_monitor NAPIlink="NXentry/NXmonitor/data" />
<energy NAPIlink="NXentry/NXinstrument/analyzer/energy" />
</NXdata>
One can see that some links have names that are different from linked data (count_start, count_duration, count_monitor).
My question is: how is it possible using the NeXus API ?
(NXmakelink take only one parameter : dataset or group id, but not a link name)
In the aim of storing data from scan where one can have multiple variables coming from several instances of a instrument (motor by example), it would be very useful to have differents variables in the NXdata group pointing to the same 'value' dataset of corresponding motors (using the definition proposed by S. Campbell : http://www.nexus.anl.gov/mediawiki/index.php?title=Motor). Example :
<NXdata name="data">
<motor1 NAPIlink="NXentry/NXinstrument/motor1(NXmotor)/values" />
<motor2 NAPIlink="NXentry/NXinstrument/motor2(NXmotor)/values" />
...
</NXdata>
Is it a way to do this ?
Thank you for your attention.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Stéphane POIRIER
Data management group
SYNCHROTRON SOLEIL
Web site: <http://www.synchrotron-soleil.fr/>
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
More information about the NeXus
mailing list