create_single_source_spectra

pyeem.augmentation.create_single_source_spectra(dataset, cal_df, conc_range, num_spectra)

Creates augmented single source spectra for each calibration source in the PyEEM dataset.

Parameters
  • dataset (pyeem.datasets.Dataset) – Your PyEEM dataset.

  • cal_df (pandas.DataFrame) – Calibration information for your dataset returned from pyeem.preprocessing.calibration()

  • conc_range (tuple of (int, float)) – The concentration range which the augmented single source spectra will occupy.

  • num_spectra (int) – The number of augmented single source spectra for each calibration source.

Returns

A table describing the augmented single source spectra and their paths within the HDF5 store.

Return type

pandas.DataFrame