48 {
"1 2 3 4 5",
"10 20 30 40 50", 150, 50, 5 },
49 {
"1 2 3 4 5",
"50 40 30 20 10", 150, 50, 1 },
50 {
"1 2 3 4 5",
"10 20 30 20 10", 90, 30, 3 },
51 {
"1",
"10", 10, 10, 1 }
58 vector<double> doubleVector;
59 vector<string> tokens;
60 bal::split(tokens, doubleArray, bal::is_space());
61 if (!tokens.empty() && !tokens[0].empty())
62 for (
size_t i=0; i < tokens.size(); ++i)
63 doubleVector.push_back(lexical_cast<double>(tokens[i]));
94 SpectrumPtr fixedSpectrum = fixer->spectrum(0,
true);
99 fixedSpectrum = fixer->spectrum(1,
true);
106 int main(
int argc,
char* argv[])
112 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
MS_TIC
TIC (total ion current): The sum of all the separate ion currents carried by the ions of different m/...
MS_base_peak_intensity
base peak intensity: The intensity of the greatest peak in the mass spectrum.
boost::shared_ptr< Spectrum > SpectrumPtr
MS_base_peak_m_z
base peak m/z: M/z value of the signal of highest intensity in the mass spectrum. ...
boost::shared_ptr< SpectrumList > SpectrumListPtr
std::vector< SpectrumPtr > spectra
MS_number_of_detector_counts
number of detector counts: The number of counted events observed in one or a group of elements of a d...
#define TEST_PROLOG(argc, argv)
The structure that captures the generation of a peak list (including the underlying acquisitions) ...
Simple writeable in-memory implementation of SpectrumList.