-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalcMatrix.cpp
More file actions
38 lines (31 loc) · 1.1 KB
/
calcMatrix.cpp
File metadata and controls
38 lines (31 loc) · 1.1 KB
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
32
33
34
35
36
37
38
#include "src/conp.h"
int main(int argc, char** argv)
{
itp::Getopt subprogram(argc, argv);
subprogram.addSubProgram("matrix", "Calculate Matrix for ECPM",
[argc, argv] {
Conp conp(argc, argv);
conp.get_EcpmMatrix();
});
subprogram.addSubProgram("potFile", "Get \"getPot_parameters.dat\" file for different voltage",
[argc, argv] {
Conp conp(argc, argv);
conp.get_getPotFile();
});
subprogram.addSubProgram("cpmControlFile", "Get \"CPM_control.dat\" file",
[argc, argv] {
Conp conp(argc, argv);
conp.get_CpmControlFile();
});
subprogram.addSubProgram("cvtBinaryToText", "convert binary file to text file",
[argc, argv] {
Conp conp(argc, argv);
conp.cvtBinaryToTextFile();
});
subprogram.addSubProgram("cvtTextToBinary", "convert text file to binary file",
[argc, argv] {
Conp conp(argc, argv);
conp.cvtTextToBinaryFile();
});
subprogram.finish();
}