JEMRIS  2.8.1
open-source MRI simulations
SpiralGradPulse.h
Go to the documentation of this file.
1 
5 /*
6  * JEMRIS Copyright (C)
7  * 2006-2015 Tony Stoecker
8  * 2007-2015 Kaveh Vahedipour
9  * 2009-2015 Daniel Pflugfelder
10  *
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25  */
26 
27 #ifndef _SPIRALGRADPULSE_H
28 #define _SPIRALGRADPULSE_H
29 
30 #include <cmath>
31 
32 #include "GradPulse.h"
33 
35 
36 class SpiralGradPulse : public GradPulse {
37 
38  public:
39 
43  SpiralGradPulse ();
44 
49 
54 
58  inline SpiralGradPulse* Clone () const {return (new SpiralGradPulse(*this));};
59 
65  virtual bool Prepare (const PrepareMode mode);
66 
70  virtual double GetGradient (double const time);
71 
72  protected:
78  virtual string GetInfo ();
79 
80  double m_arms;
81  double m_slewrate;
82  double m_max_grad;
83  double m_grad_samp_int;
84  double m_fov;
85  double m_bw;
86  double m_pitch;
87  double m_beta;
88  int m_inward;
89  long m_samples;
90  std::vector<double> m_amps;
92 };
93 
94 #endif /*_SPIRALGRADPULSE_H*/
double m_fov
Definition: SpiralGradPulse.h:84
SpiralGradPulse()
Definition: SpiralGradPulse.cpp:31
double m_arms
Definition: SpiralGradPulse.h:80
~SpiralGradPulse()
Definition: SpiralGradPulse.cpp:231
int m_inward
Definition: SpiralGradPulse.h:88
double m_max_grad
Definition: SpiralGradPulse.h:82
double m_pitch
Definition: SpiralGradPulse.h:86
double m_beta
Definition: SpiralGradPulse.h:87
double m_grad_samp_int
Definition: SpiralGradPulse.h:83
long m_samples
Definition: SpiralGradPulse.h:89
mode
Definition: Declarations.h:112
double m_slewrate
Definition: SpiralGradPulse.h:81
Implementation of JEMRIS GradPulse.
Prototype of a spiral gradient as described by Pauly et al.
Definition: SpiralGradPulse.h:36
virtual bool Prepare(const PrepareMode mode)
Definition: SpiralGradPulse.cpp:63
std::vector< double > m_amps
Definition: SpiralGradPulse.h:90
SpiralGradPulse * Clone() const
Definition: SpiralGradPulse.h:58
double m_bw
Definition: SpiralGradPulse.h:85
Base class and prototype for all gradient pulses.
Definition: GradPulse.h:36
virtual double GetGradient(double const time)
Definition: SpiralGradPulse.cpp:55
virtual string GetInfo()
Definition: SpiralGradPulse.cpp:220

-- last change 17.06.2016 | Tony Stoecker | Imprint --