-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
I am new to HDF5 and received sample neutron time-of-flight data from the PCS. This machine has 8 detectors and each detects events of the form (X, Y, t). I would like to access these triplets from a C-program. So far hdfview tells me that the top group is "run_515" containing the groups "tof_detector_1" through "tof_detector_8". Each of these 8 groups contains the data sets I am interested in, namely "single_events_time", "single_events_x", and "single_events_y". I have a couple of questions w.r.t. to coding in C in order to access these arrays. 1) while I assume that "tof_detector_1" etc. is always the same in files from this machine, "run_515" seems to vary. I haven't figured out how to access the data if I don't know the name "run_515". Could someone point me into the right direction? 2) I received a sketch of the laytout of PCS and I guess that the detectors are all planar. Should a proper HDF5-file contain the orientations of each detector w.r.t. sample or some other mark, or do I have to talk to the instrument scientist? 3) would a proper HDF5 file contain the distance from the 0-point to the sample so that I know what distance the time t refers to? This would help me get started on HDF5. Best regards, Tim Gruene - -- - -- Dr Tim Gruene Institut fuer anorganische Chemie Tammannstr. 4 D-37077 Goettingen GPG Key ID = A46BEE1A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iD8DBQFThJqHUxlJ7aRr7hoRAh0JAJ43jRoo6hRdL4DCZyB6jWqNfHq/nQCg7Gi9 oY7GBI/1p4jbYwJPL6leUlg= =cvMY -----END PGP SIGNATURE----- _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
