JEMRIS 2.9.1
open-source MRI simulations
Loading...
Searching...
No Matches
EmptyPulse.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2023 Tony Stoecker
8 * 2007-2018 Kaveh Vahedipour
9 * 2009-2019 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
36class EmptyPulse : public Pulse {
37
38 public:
39
44
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_*/
Implementation of JEMRIS AnalyticPulseShape.
mode
Definition: Declarations.h:112
Implementation of JEMRIS Pulse.
prepare and GiNaC evaluation of analytic pulse shapes
Definition: AnalyticPulseShape.h:36
void SetPulse(Pulse *p)
set the pulse owning this
Definition: AnalyticPulseShape.h:58
Prototype of an empty pulse.
Definition: EmptyPulse.h:36
EmptyPulse()
Default constructor.
Definition: EmptyPulse.h:43
virtual void GenerateEvents(std::vector< Event * > &events)
Definition: EmptyPulse.cpp:78
~EmptyPulse()
Default destructor.
Definition: EmptyPulse.h:48
virtual string GetInfo()
Definition: EmptyPulse.cpp:106
virtual void SetTPOIs()
Allows non-equdistant setting of ADCs via Shape attribute (GiNaC formula)
Definition: EmptyPulse.cpp:45
EmptyPulse(const EmptyPulse &)
Default copy constructor.
Definition: EmptyPulse.h:53
virtual bool Prepare(PrepareMode mode)
Prepare the hard RF pulse.
Definition: EmptyPulse.cpp:30
EmptyPulse * Clone() const
Definition: EmptyPulse.h:58
AnalyticPulseShape m_pulse_shape
Definition: EmptyPulse.h:89
Pulse Super Class. ABC for all RF and gradient pulses.
Definition: Pulse.h:41

-- last change 03.10.2023 | Tony Stoecker | Imprint | Data Protection --