ODIN
odinpara.h
1 /***************************************************************************
2  odinpara.h - description
3  -------------------
4  begin : Tue Jun 28 2005
5  copyright : (C) 2000-2021 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef ODINPARA_H
19 #define ODINPARA_H
20 
21 
22 
23 #include <tjutils/tjtools.h>
24 
30 #define ODIN_NONE_STR "none"
31 #define ODIN_UNKNOWN_STR "Unknown"
32 
41 enum direction { readDirection=0, phaseDirection, sliceDirection, n_directions};
42 static const char* directionLabel[]={"readDirection", "phaseDirection","sliceDirection"};
43 AVOID_CC_WARNING(directionLabel)
44 
45 
51 enum axis {xAxis=0,yAxis,zAxis,n_axes};
52 
53 
54 
55 // Units within ODIN
56 #define ODIN_TIME_UNIT "ms"
57 #define ODIN_FREQ_UNIT "kHz"
58 #define ODIN_SPAT_UNIT "mm"
59 #define ODIN_FIELD_UNIT "mT"
60 #define ODIN_GRAD_UNIT "mT/mm"
61 #define ODIN_ANGLE_UNIT "deg"
62 
63 
64 // some common stuff for geometry and sample
65 #define ODIN_DEFAULT_FOV 220.0
66 #define ODIN_MAX_NUMOF_SLICES 50
67 #define ODIN_GEO_CHECK_LIMIT 1e-6
68 
69 
70 // for debugging odinpara component
71 class Para {
72  public:
73  static const char* get_compName();
74 };
75 
76 
82 #endif
direction
Definition: odinpara.h:41
axis
Definition: odinpara.h:51