34 std::pair<double, double> tmp;
40 std::vector<double> mids;
44 double mz[] = {1001. , 1001.5 , 1001.8 , 1004. , 1005., 1008. , 1009. , 1009.3};
45 size_t smz =
sizeof(
mz)/
sizeof(
double);
46 std::vector<double> intensity( smz, 10.), gg;
47 double all = std::accumulate(intensity.begin(),intensity.end(),0.);
51 double bla = std::accumulate(gg.begin(),gg.end(),0.);
59 int main(
int argc,
char **argv) {
#define unit_assert_equal(x, y, epsilon)
void convert2dense(Tmass beginMass, Tmass endMass, Tintens intens, Tout ass)
Converts a sparse spec to a dense spec.
double mz(double neutralMass, int protonDelta, int electronDelta=0, int neutronDelta=0)
std::size_t defBreak(std::pair< double, double > &mzrange, double ppm)
computes split points of an map.
void getMids(std::vector< double > &mids)
int main(int argc, char **argv)