-
Hello, I am saving some simulation results that include scattering parameters (complex data, real and imaginary). I'm creating a Group called SParameters with attribute NX_class:NX_entry, then subgroups for each S-Parameter (S11, .... , S22) with NX_class:NXdata, folowing an example file provided by myHDF5, this onefor example: Zenodo Example or clicking in the Zenodo example here: Zenodo Example myHDF5. You can check my file down here, and use the inspect option to check the groups attributes and datasets: My dataset: I am doing that to use the myHDF5 feature of plotting automatically the data, without navigating at each SNN dataset. Unfortuantely, whenever I click in a particular SNN:group of NX_class:NXdata, it does not automatically show the plot, and does not include axis names and all. It only show a mesage Expected some value, as you can see in the figure down here: I am using python's h5py module to create the HDF5 file and create/set groups, attributes and datasets. Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @joaonizer, I think it might be because of the syntax of the You can also check out the mock demo for examples on how to structure your NeXus file - e.g. Minor suggestion: you could also add a |
Beta Was this translation helpful? Give feedback.
Sorry I wasn't clear. Since your dataset is 1D, the axes attribute should just have:
["wavelength"]
. EDIT: it should also just be the name of the child dataset to use as axis, not its absolute path.Please disregard the
value
property in the mock demo. I will see if I can prevent it from being displayed.