Fingerprints
Fragments
Metadata
MetadataCollection
Pipeline
Scores
SpectraCollection
SpectraCollectionProcessor
Spectrum
SpectrumProcessor
calculate_scores()
set_matchms_logger_level()
save_as_json()
save_as_mgf()
save_as_msp()
save_as_mzspeclib()
save_spectra()
Save a list of spectra to a file in mzSpecLib format.
Parameters: spectra (List[Spectrum]): List of Spectrum objects to save. filename (str): The name of the file to save the spectra to.