Optimized Cython

This document contains information about the optimized Cython data structures and algorithms available within this package.

The main data structures are (see DataStructures - Alignment for a detailed description):

  • CyPeakgroupWrapperOnly (wraps a C++ peakgroup)
  • CyPrecursorWrapperOnly (wraps a C++ precursor)
  • CyPrecursorGroup (a precursor group, a Cython version of PrecursorGroup)

For linear interpolation and retention time transformation, the CyLinearInterpolateWrapper wraps a C++ interpolation function, allowing access to a very fast linear interpolator. The CyLightTransformationData is a Cython version of LightTransformationData.

The CyDataCacher is a Cython class that holds pairwise RT alignment data cached for later use.

Finally, the MST alignment algorithm can be called through static_cy_alignBestCluster.

Peakgroup (optimized)

Precursor (optimized)

PrecursorGroup (optimized)

CyLinearInterpolateWrapper (optimized)

CyLightTransformationData (optimized)

DataCacher (optimized)

MST Algorithm (optimized)