The APyT spectrum analysis module

The apyt.analysis.spectrum module provides functionality for the analysis of time-of-flight (ToF) and mass spectra acquired from atom probe tomography (APT) experiments.

This module is intended to support workflows involving multi-event correlation, signal interpretation, and data preprocessing relevant to APT mass spectrometry.

List of functions

The following functions are available:

  • correlation(): Calculate correlated mass-to-charge ratios for multi-events.

apyt.analysis.spectrum.correlation(mc_ratios, pulse_nums, order=2)[source]

Calculate correlated mass-to-charge ratios for multi-events.

Parameters:
  • mc_ratios (ndarray, shape (n,)) – The mass-to-charge ratios of the n input events.

  • pulse_nums (ndarray, shape (n,)) – The corresponding pulse numbers of the n input events.

  • order (int) – The order of the multi-events. Defaults to 2, i.e. calculate double events.

Returns:

mc_ratios_corr – The correlated mass-to-charge ratios of the m multi-events.

Return type:

ndarray, shape (m, order)