JEMRIS  2.8.1
open-source MRI simulations
EmptyPulse.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 EMPTYPULSE_H_
28 #define EMPTYPULSE_H_
29 
30 #include "Pulse.h"
31 #include "AnalyticPulseShape.h"
32 
33 
35 
36 class EmptyPulse : public Pulse {
37 
38  public:
39 
43  EmptyPulse () {};
44 
48  ~EmptyPulse () {};
49 
54 
58  inline EmptyPulse* Clone() const { return (new EmptyPulse(*this)); };
59 
66  virtual bool Prepare (PrepareMode mode);
67 
72  virtual void SetTPOIs ();
73 
77  virtual void GenerateEvents(std::vector<Event*> &events);
78 
79  protected:
80 
86  virtual string GetInfo ();
87 
88 
91 };
92 
93 #endif /*HARDRFPULSE_H_*/
virtual string GetInfo()
Definition: EmptyPulse.cpp:94
virtual void GenerateEvents(std::vector< Event * > &events)
Definition: EmptyPulse.cpp:76
virtual bool Prepare(PrepareMode mode)
Prepare the hard RF pulse.
Definition: EmptyPulse.cpp:30
prepare and GiNaC evaluation of analytic pulse shapes
Definition: AnalyticPulseShape.h:36
AnalyticPulseShape m_pulse_shape
Definition: EmptyPulse.h:89
Implementation of JEMRIS Pulse.
EmptyPulse()
Default constructor.
Definition: EmptyPulse.h:43
EmptyPulse * Clone() const
Definition: EmptyPulse.h:58
Pulse Super Class. ABC for all RF and gradient pulses.
Definition: Pulse.h:41
Prototype of an empty pulse.
Definition: EmptyPulse.h:36
mode
Definition: Declarations.h:112
EmptyPulse(const EmptyPulse &)
Default copy constructor.
Definition: EmptyPulse.h:53
~EmptyPulse()
Default destructor.
Definition: EmptyPulse.h:48
virtual void SetTPOIs()
Allows non-equdistant setting of ADCs via Shape attribute (GiNaC formula)
Definition: EmptyPulse.cpp:45
void SetPulse(Pulse *p)
set the pulse owning this
Definition: AnalyticPulseShape.h:58
Implementation of JEMRIS AnalyticPulseShape.

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