OpenMS  2.4.0
Public Member Functions | Private Attributes | List of all members
TargetedSpectraExtractor::BinnedSpectrumComparator Class Reference

#include <OpenMS/ANALYSIS/OPENSWATH/TargetedSpectraExtractor.h>

Inheritance diagram for TargetedSpectraExtractor::BinnedSpectrumComparator:
TargetedSpectraExtractor::Comparator

Public Member Functions

void generateScores (const MSSpectrum &spec, std::vector< std::pair< Size, double >> &scores, double min_score) const
 
void init (const std::vector< MSSpectrum > &library, const std::map< String, DataValue > &options)
 
- Public Member Functions inherited from TargetedSpectraExtractor::Comparator
const std::vector< MSSpectrum > & getLibrary () const
 

Private Attributes

BinnedSpectralContrastAngle cmp_bs_
 
std::vector< BinnedSpectrumbs_library_
 
double bin_size_ = 1.0
 
double peak_spread_ = 0.0
 
double bin_offset_ = 0.4
 

Additional Inherited Members

- Protected Attributes inherited from TargetedSpectraExtractor::Comparator
std::vector< MSSpectrumlibrary_
 

Member Function Documentation

◆ generateScores()

void generateScores ( const MSSpectrum spec,
std::vector< std::pair< Size, double >> &  scores,
double  min_score 
) const
inlinevirtual

◆ init()

void init ( const std::vector< MSSpectrum > &  library,
const std::map< String, DataValue > &  options 
)
inlinevirtual

Member Data Documentation

◆ bin_offset_

double bin_offset_ = 0.4
private

◆ bin_size_

double bin_size_ = 1.0
private

◆ bs_library_

std::vector<BinnedSpectrum> bs_library_
private

◆ cmp_bs_

BinnedSpectralContrastAngle cmp_bs_
private

◆ peak_spread_

double peak_spread_ = 0.0
private