Preprints
https://doi.org/10.5194/egusphere-2024-3047
https://doi.org/10.5194/egusphere-2024-3047
14 Oct 2024
 | 14 Oct 2024

An Algorithm for Automatic Fitting and Formula Assignment in Atmospheric Mass Spectra

Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn

Abstract. Mass spectrometry is an established method for studying the chemical composition of gases and particles in the atmosphere. Using this technique, signals corresponding to thousands, or even tens of thousands of compounds may be detected from ambient air. The process of identifying all the peaks in the mass spectra is often arduous and time--consuming, in particular when multiple overlapping peaks are present. This manual peak fitting and identification may take even experienced analysts anywhere from weeks to months to complete, depending on the desired accuracy and completeness.

In this work, we attempted to automate the fitting and formula assignment workflow and evaluate how far the process can get using a ''one button'' algorithm. The algorithm constructed in this work takes in commonly known parameters specific to the instrument type and by pressing one button, it runs and ultimately provides a list of likely peaks for the mass spectrum. The algorithm utilizes weighted least squares fitting and a modified version of the Bayesian information criterion along with an iterative formula assignment process. We applied it to synthetic mass spectra and both a gas-phase chemical ionization mass spectrometer (CIMS) dataset and an aerosol mass spectrometer (AMS) dataset. The results were largely comparable with manual peak fitting and identification done previously, but were achieved in a fraction of the time. Erroneous assignments mainly appeared at low--intensity signals, with interference from nearby higher intensity signals, a case that is challenging also for manual peak fitting. This algorithm provides an excellent starting point for a peak list, which, if needed, can be manually revised.

The main result of this study is the algorithm itself. While further improvements and tweaks are possible, the algorithm presented here is currently being implemented into the commonly used Tofware analysis software package, to allow easy utilization by the broader community. We hope this can save valuable time of researchers for data interpretation rather than data processing and curation.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.
Share

Journal article(s) based on this preprint

03 Apr 2025
An algorithm for automatic fitting and formula assignment in atmospheric mass spectra
Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn
Atmos. Meas. Tech., 18, 1537–1559, https://doi.org/10.5194/amt-18-1537-2025,https://doi.org/10.5194/amt-18-1537-2025, 2025
Short summary
Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-3047', Anonymous Referee #1, 07 Nov 2024
    • AC1: 'Reply on RC1', Valter Mickwitz, 20 Dec 2024
  • RC2: 'Comment on egusphere-2024-3047', Anonymous Referee #2, 07 Dec 2024
    • AC2: 'Reply on RC2', Valter Mickwitz, 20 Dec 2024

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-3047', Anonymous Referee #1, 07 Nov 2024
    • AC1: 'Reply on RC1', Valter Mickwitz, 20 Dec 2024
  • RC2: 'Comment on egusphere-2024-3047', Anonymous Referee #2, 07 Dec 2024
    • AC2: 'Reply on RC2', Valter Mickwitz, 20 Dec 2024

Peer review completion

AR: Author's response | RR: Referee report | ED: Editor decision | EF: Editorial file upload
AR by Valter Mickwitz on behalf of the Authors (20 Dec 2024)  Author's response   Author's tracked changes   Manuscript 
ED: Publish as is (24 Dec 2024) by Mingjin Tang
AR by Valter Mickwitz on behalf of the Authors (28 Jan 2025)  Manuscript 

Journal article(s) based on this preprint

03 Apr 2025
An algorithm for automatic fitting and formula assignment in atmospheric mass spectra
Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn
Atmos. Meas. Tech., 18, 1537–1559, https://doi.org/10.5194/amt-18-1537-2025,https://doi.org/10.5194/amt-18-1537-2025, 2025
Short summary
Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn
Valter Mickwitz, Otso Peräkylä, Frans Graeffe, Douglas Worsnop, and Mikael Ehn

Viewed

Total article views: 386 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
201 102 83 386 82 8 10
  • HTML: 201
  • PDF: 102
  • XML: 83
  • Total: 386
  • Supplement: 82
  • BibTeX: 8
  • EndNote: 10
Views and downloads (calculated since 14 Oct 2024)
Cumulative views and downloads (calculated since 14 Oct 2024)

Viewed (geographical distribution)

Total article views: 357 (including HTML, PDF, and XML) Thereof 357 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 03 Apr 2025
Download

The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.

Short summary
This work presents and evaluates an algorithm that automatically conducts the steps of fitting peaks and identifying formulas, necessary but time consuming steps for most applications of mass spectrometry within atmospheric science. The aim of the algorithm is to save researchers working on these tasks significant amounts of time, and allow them to proceed with their analysis. The work demonstrates that this algorithm can achieve the goal of speeding up analysis, and provide accurate formulas.
Share