h5analysis.LoadData.LoadLog
- class h5analysis.LoadData.LoadLog
Bases:
objectGenerate spreadsheet with meta data from h5 file.
Methods
export(filename)Export the created spreadsheet in csv format as log file.
load(config, file, columns[, average])Load meta data from h5 file.
show()Display the spreadsheet as pandas DataFrame
- export(filename)
Export the created spreadsheet in csv format as log file.
- Parameters:
filename (string) – file name of the created csv file
- load(config, file, columns, average=True)
Load meta data from h5 file.
- Parameters:
config (dict) – h5 data configuration
file (string) – file name
columns (dict) –
- Specify column header and h5 data path to meta datam i.e.
columns = dict() columns[‘Sample Stage horz’] = ‘Endstation/Motors/ssh …
average (Boolean) – determines if array of values or their average is reported
- show()
Display the spreadsheet as pandas DataFrame