OSDN Git Service

Eos:Extensible object-oriented system for image analysis of electron micrographs
[eos/hostdependX86LINUX64.git] / src / Tools / ctfInfo / ctfFunction / inc / ctfFunction.h
1 #ifndef CTFFUNCTION_H
2 #define CTFFUNCTION_H
3 #include <stdio.h>
4 #include <stdlib.h>
5
6 #define OPTION_FLAG     '-'
7 #define OPTION_FLAG_POS (0)
8 #define OPTION_POS      (1)
9
10
11
12
13 typedef struct ctfFunctionInfo {
14     long flagRedirect;
15
16     long flagOut;
17     char* Out;
18     FILE* fptOut;
19     
20     long flagRmax;
21     float Rmax;
22     
23     long flagdR;
24     float dR;
25     
26     long flagkV;
27     float kV;
28     
29     long flagCs;
30     float Cs;
31     
32     long flagDefocus;
33     float Defocus;
34     
35     long flagAoverP;
36     float AoverP;
37     
38     long flagAin;
39     float Ain;
40     
41     long flagctfMode;
42     long ctfMode;
43     
44     long flagpvm;
45     long pvm;
46     
47     long flagpvmList;
48     char* pvmList;
49     FILE* fptpvmList;
50     
51     long flagconfigFile;
52     char* configFile;
53     FILE* fptconfigFile;
54     
55     long flagmode;
56     long mode;
57     
58 } ctfFunctionInfo;
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 extern void argCheck(ctfFunctionInfo* info, int argc, char* avgv[]);
63 extern void khorosInit(int argc, char* avgv[]);
64 extern void init0(ctfFunctionInfo* info);
65 extern void init1(ctfFunctionInfo* info);
66 extern void usage(char* usage);
67 extern void additionalUsage(void);
68 extern void htmlBeforeUsage(char* usage);
69 extern void htmlAfterUsage(char* usage);
70 #ifdef __cplusplus
71 };
72 #endif
73 #endif /* CTFFUNCTION_H */