Open prjemian opened 11 months ago
Keep in mind:
Since the original question concerned PyTango (and not EPICS), a document showing how to write a master NeXus/HDF5 file from Bluesky that makes external file links to image data in another HDF5 file will be more useful.
Where the software that writes the image data is actually irrelevant to the HowTo, other than it provides the directory, file name, and HDF5 address to the image data.
Work on #240 before this one.
f["/entry/data"] = h5py.ExternalLink("image.hdf5", "/entry/data")
A thread on the Nikea Slack website started with a request how Bluesky should writefiles that comply with the NeXus NXsas application definition. Quickly, the discussion pointed towards how to write NeXus-compliant files in general, and more specifically using EPICS and area detector. (NXsas files are raw data using a 2-D detector. Other geometries are proposed but that's the way it stands now.)
One proposition was to use the
apstools.callbacks.NXWriter()
class to write a master NeXus/HDF5 file that makes external file links to the NeXus/HDF5 file create by the EPICS area detector IOC. This might better fit the original question since the questioner uses PyTango.On Slack, I wrote: