8.6.1.3. pymodaq_data.h5modules.browsing module

Created the 15/11/2022

@author: Sebastien Weber

class pymodaq_data.h5modules.browsing.H5BrowserUtil(backend='tables')[source]

Bases: H5Backend

Utility object to interact and get info and data from a hdf5 file

Inherits H5Backend and all its functionalities

Parameters:

backend (str) – The used hdf5 backend: either tables, h5py or h5pyd

Methods

export_data([node_path, filesavename, filter])

Initialize the correct exporter and export the node

get_h5file_scans([where])

Get the list of the scan nodes in the file

get_h5_attributes

export_data(node_path='/', filesavename='datafile.h5', filter=None)[source]

Initialize the correct exporter and export the node

get_h5_attributes(node_path)[source]
get_h5file_scans(where='/')[source]

Get the list of the scan nodes in the file

Parameters:

where (str) – the path in the file

Returns:

dict with keys: scan_name, path (within the file) and data (the live scan png image)

Return type:

list of dict