holodeck.librarian.fit_spectra

holodeck.librarian.fit_spectra.fit_all_libraries_in_path(path, log, pattern=None, recreate=False)[source]

Recursively find all sam_lib.hdf5 files in the given path, and construct spectra fits for them.

holodeck.librarian.fit_spectra.fit_library_spectra(library_path, log, recreate=False)[source]

Calculate line fits to library spectra using MPI.