ProteoWizard
Static Public Member Functions | List of all members
pwiz::analysis::ZeroSampleFiller Struct Reference

fills in missing zero samples around signal profiles More...

#include <ZeroSampleFiller.hpp>

Static Public Member Functions

static void fill (const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xFilled, std::vector< double > &yFilled, std::size_t zeroSampleCount)
 fills in missing zero samples (and won't overwrite existing samples); zeroSampleCount controls how many zero samples to add to each signal profile; preconditions: More...
 

Detailed Description

fills in missing zero samples around signal profiles

Definition at line 37 of file ZeroSampleFiller.hpp.

Member Function Documentation

§ fill()

static void pwiz::analysis::ZeroSampleFiller::fill ( const std::vector< double > &  x,
const std::vector< double > &  y,
std::vector< double > &  xFilled,
std::vector< double > &  yFilled,
std::size_t  zeroSampleCount 
)
static

fills in missing zero samples (and won't overwrite existing samples); zeroSampleCount controls how many zero samples to add to each signal profile; preconditions:

  • sample rate can change, but it must change gradually
  • at least one zero sample on each side of every signal profile

The documentation for this struct was generated from the following file: