pyls.save_results

pyls.save_results(fname, results)[source]

Saves PLS results to hdf5 file fname

If fname does not end with ‘.hdf5’ it will be appended

Parameters
  • fname (str) – Filepath to where hdf5 file should be created and results stored

  • results (pyls.structures.PLSResults) – PLSResults object to be saved

Returns

fname – Filepath to created file

Return type

str