HDF5RawPayload

class baseband_tasks.io.hdf5.payload.HDF5RawPayload(words, header=None, **kwargs)[source] [edit on github]

Bases: baseband_tasks.io.hdf5.payload.HDF5DatasetWrapper, baseband_tasks.io.hdf5.payload.HDF5Payload

Attributes Summary

data

dtype

Numeric type of the decoded data array.

itemsize

nbytes

sample_shape

Methods Summary

fromfile(fh[, header])

Get payload words from HDF5 file or group.

view(*args, **kwargs)

Attributes Documentation

data
dtype

Numeric type of the decoded data array.

itemsize
nbytes
sample_shape

Methods Documentation

classmethod fromfile(fh, header=None) [edit on github]

Get payload words from HDF5 file or group.

Parameters
fhFile or Group

Handle to the HDF5 file/group which has an ‘payload’ dataset. If the payload does not exist, it will be created.

headerHDF5Header, optional

Must be given for encoded payloads, or to create a payload.

view(*args, **kwargs) [edit on github]