response_to_excel.py#
Collate camera spectral response data into Excel format.
- response_to_excel.main(args=None, **kw)[source]#
Convert spectral response h5 file to Excel format.
If called without parameters, parses arguments from the command line. Arguments may be passed as a list of strings or as keyword arguments. E.g.:
main(['-o', 'results.xlsx','response1.h5','response2.h5']) # or main(output='results.xlsx',input=['response1.h5','response2.h5'])
- Parameters:
output (
-o
,--output
, Path) – output Excel fileinput (list of Paths) – List of spectral response files to process. Each is converted to a single worksheet of the output file.
quiet (
--quiet
, bool) – suppress status messages