odinpara.h

00001 /***************************************************************************
00002                           odinpara.h  -  description
00003                              -------------------
00004     begin                : Tue Jun 28 2005
00005     copyright            : (C) 2001 by Thies H. Jochimsen
00006     email                : jochimse@cns.mpg.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef ODINPARA_H
00019 #define ODINPARA_H
00020 
00021 
00022 
00023 
00037 typedef enum channelNo            { readChannel=0,phaseChannel,  sliceChannel,n_channels};
00038 static const char* channelLabel[]={"readChannel","phaseChannel","sliceChannel"};
00039 
00046 typedef enum axis {xAxis=0,yAxis,zAxis,n_axes};
00047 
00048 
00049 
00050 // for backwards compatability:
00051 #define readDirection readChannel
00052 #define phaseDirection phaseChannel
00053 #define sliceDirection sliceChannel
00054 
00055 
00056 // Units within ODIN
00057 #define ODIN_TIME_UNIT "ms"
00058 #define ODIN_FREQ_UNIT "kHz"
00059 #define ODIN_SPAT_UNIT "mm"
00060 #define ODIN_FIELD_UNIT "mT"
00061 #define ODIN_GRAD_UNIT "mT/mm"
00062 #define ODIN_ANGLE_UNIT "deg"
00063 
00064 
00065 // some common stuff for geometry and sample
00066 #define ODIN_DEFAULT_FOV 220.0
00067 #define ODIN_MAX_NUMOF_SLICES 50
00068 #define ODIN_GEO_CHECK_LIMIT 1e-6
00069 
00070 
00071 // for debugging odinpara component
00072 class Para {
00073  public:
00074   static const char* get_compName();
00075 };
00076 
00077 
00083 #endif

Generated on Sat Jun 14 12:31:22 2008 by  doxygen 1.5.1