odinpara.h
1 /***************************************************************************
2  odinpara.h - description
3  -------------------
4  begin : Tue Jun 28 2005
5  copyright : (C) 2000-2015 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 
38 enum direction { readDirection=0, phaseDirection, sliceDirection, n_directions};
39 static const char* directionLabel[]={"readDirection", "phaseDirection","sliceDirection"};
40 AVOID_CC_WARNING(directionLabel)
41 
42 
48 enum axis {xAxis=0,yAxis,zAxis,n_axes};
49 
50 
51 
52 // Units within ODIN
53 #define ODIN_TIME_UNIT "ms"
54 #define ODIN_FREQ_UNIT "kHz"
55 #define ODIN_SPAT_UNIT "mm"
56 #define ODIN_FIELD_UNIT "mT"
57 #define ODIN_GRAD_UNIT "mT/mm"
58 #define ODIN_ANGLE_UNIT "deg"
59 
60 
61 // some common stuff for geometry and sample
62 #define ODIN_DEFAULT_FOV 220.0
63 #define ODIN_MAX_NUMOF_SLICES 50
64 #define ODIN_GEO_CHECK_LIMIT 1e-6
65 
66 
67 // for debugging odinpara component
68 class Para {
69  public:
70  static const char* get_compName();
71 };
72 
73 
79 #endif
axis
Definition: odinpara.h:48
direction
Definition: odinpara.h:38