JEMRIS  2.8.1
open-source MRI simulations
SincRFPulse.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 SINCRFPULSE_H_
28 #define SINCRFPULSE_H_
29 
31 
32 #include "RFPulse.h"
33 
34 class SincRFPulse : public RFPulse {
35 
36  public:
37 
42 
46  SincRFPulse (const SincRFPulse&);
47 
51  ~SincRFPulse () {};
52 
56  inline SincRFPulse* Clone() const { return (new SincRFPulse(*this)); }
57 
64  virtual bool Prepare (PrepareMode mode);
65 
74  virtual double GetMagnitude (double time );
75 
79  virtual void SetTPOIs ();
80 
81 
82  protected:
88  virtual string GetInfo ();
89 
90  double m_zeros;
91  double m_max_amplitude;
92  double m_alpha;
94 };
95 
96 #endif /*SINCRFPULSE_H_*/
~SincRFPulse()
Default destructor.
Definition: SincRFPulse.h:51
Implementation of JEMRIS RFPulse.
virtual string GetInfo()
Definition: SincRFPulse.cpp:86
virtual void SetTPOIs()
Definition: SincRFPulse.cpp:75
virtual bool Prepare(PrepareMode mode)
Prepare the sinc RF pulse.
Definition: SincRFPulse.cpp:41
double m_max_amplitude
Maximum amplitude of the sinc; derived from flipangle and duration in Prepare()
Definition: SincRFPulse.h:91
mode
Definition: Declarations.h:112
virtual double GetMagnitude(double time)
Returns the sinc shape of this SincRFpulse.
Definition: SincRFPulse.cpp:64
double m_zeros
Half the number of zero crossings of the sinc.
Definition: SincRFPulse.h:90
double m_alpha
Apodization factor (default 0.5 = Hamming window)
Definition: SincRFPulse.h:92
The prototype for Sinc RF Pulse.
Definition: SincRFPulse.h:34
SincRFPulse()
Default constructor.
Definition: SincRFPulse.h:41
SincRFPulse * Clone() const
Definition: SincRFPulse.h:56
Super class for all RF pulses.
Definition: RFPulse.h:36

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