-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgetXIC.h
31 lines (20 loc) · 989 Bytes
/
getXIC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef PESCAL_QUANTITATION_H
#define PESCAL_QUANTITATION_H
#include <vector>
#include <string>
#include <tchar.h>
#include <Windows.h>
#include "XRawfile2_x64.h"
struct peakInfo{
double intensity;
double area;
int index;
};
std::vector< std::vector< std::pair<double, double> > > getXIC(std::string &fullFileName, double mz, float rt, int charge, bool boxCar, float mzTolerance);
void openRawFile(std::wstring wRawFile, IXRawfile5* &pISL);
void getTimeIntPairs(std::vector<std::pair<double, double> > &timeIntPairs, BSTR &filter, std::wstring mzRange, float rtLower, float rtUpper, IXRawfile5* &pISL, bool boxCar);
void peakHeight(std::vector <std::vector<std::pair<double, double> > > &timeIntIsotopes, peakInfo &bestPeak);
void outputTimeIntPairs(std::vector<std::pair<double, double> > &timeIntPairs, int isotopeNum);
void getError();
double getPeakArea(int upperIndex, int lowerIndex, int numIndices, double peakIntensity, int peakIndex);
#endif //PESCAL_QUANTITATION_H