28 using namespace pwiz::util;
29 using namespace pwiz::msdata;
30 using namespace pwiz::analysis;
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;