edges_io.io.Spectrum.data#

property Spectrum.data: HDF5RawSpectrum | list[HDF5RawSpectrum]#

A view of the data in the file as a HDF5Object.

If the file is an ACQ file, it will be read completely into memory and cast into the same format as a HDF5Object so that the API is the same.

If the number of files is more than one, data will be a list of objects.