JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
HardRFPulse.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2025 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 HARDRFPULSE_H_
28#define HARDRFPULSE_H_
29
30#include "RFPulse.h"
31
33
34class HardRFPulse : public RFPulse {
35
36
37 public:
38
43
48
52 virtual ~HardRFPulse () {};
53
57 inline HardRFPulse* Clone() const { return (new HardRFPulse(*this)); }
58
65 virtual bool Prepare (const PrepareMode mode);
66
73 inline virtual double GetMagnitude (double time ) { return GetFlipAngle() * PI /(180.0*GetDuration() ); }
74
75};
76
77#endif /*HARDRFPULSE_H_*/
mode
Definition Declarations.h:112
Implementation of JEMRIS RFPulse.
Prototype for hard radio frequency pulses.
Definition HardRFPulse.h:34
HardRFPulse * Clone() const
Definition HardRFPulse.h:57
HardRFPulse(const HardRFPulse &)
Default copy constructor.
Definition HardRFPulse.h:47
HardRFPulse()
Default constructor.
Definition HardRFPulse.h:42
virtual ~HardRFPulse()
Default destructor.
Definition HardRFPulse.h:52
virtual double GetMagnitude(double time)
Definition HardRFPulse.h:73
virtual bool Prepare(const PrepareMode mode)
Prepare.
Definition HardRFPulse.cpp:30
double GetDuration()
Definition Pulse.h:85
Super class for all RF pulses.
Definition RFPulse.h:36
double GetFlipAngle() const
Get the flip angle of this pulse.
Definition RFPulse.h:86

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