1234567891011121314151617181920212223 |
- #pragma once
- #include "stdafx.h"
- namespace CPeak
- {
- using namespace std;
-
- double GetEnergyValueK(long a_nAtomNum);
- double GetEnergyValueL(long a_nAtomNum);
- double GetEnergyValueM(long a_nAtomNum);
- std::vector<double> GetEnergyValues(long a_nAtomNum);
- // atomic number validation
- bool IsValidAtomNum(long a_nAtomNum);
-
-
- void GetAllElementsEnergyK(float fEnergy, float fDelt, std::vector<CString>& vecstr);
- void SplitCString(const CString& str, const char* separator, int sep_number, vector<CString>& strArray);
- bool cmp(const pair<int, int>& x, const pair<int, int>& y);
- void SortMapByValue(std::map<int,int>& tMap, vector<pair<int, int>>& tVector);
- BOOL FindPeaks(DWORD* nChannelData, vector<CString>& eleList);
- }
|