JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
AnalyticRFPulse.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 ANALYTICRFPULSE_H_
28#define ANALYTICRFPULSE_H_
29
30#include "RFPulse.h"
31#include "AnalyticPulseShape.h"
32
37class AnalyticRFPulse : public RFPulse {
38
39 public:
40
45
50
55
59 inline AnalyticRFPulse* Clone() const {return (new AnalyticRFPulse(*this));};
60
67 virtual bool Prepare (PrepareMode mode);
68
75 virtual double GetMagnitude (double const time) {return m_pulse_shape.GetShape(time); };
76
81
85 //virtual void SetTPOIs() { m_pulse_shape.SetTPOIs(); } ;
86
87
88 protected:
89
95 virtual string GetInfo ();
96
98};
99
100#endif /*ANALYTICRFPULSE_H_*/
Implementation of JEMRIS AnalyticPulseShape.
mode
Definition Declarations.h:112
Implementation of JEMRIS RFPulse.
prepare and GiNaC evaluation of analytic pulse shapes
Definition AnalyticPulseShape.h:36
double GetShape(double const time)
get the shape value at current time
Definition AnalyticPulseShape.cpp:46
Analytic RF pulse.
Definition AnalyticRFPulse.h:37
virtual bool Prepare(PrepareMode mode)
Prepare the hard RF pulse.
Definition AnalyticRFPulse.cpp:37
virtual double GetMagnitude(double const time)
Get Magnitude.
Definition AnalyticRFPulse.h:75
AnalyticRFPulse * Clone() const
Definition AnalyticRFPulse.h:59
AnalyticPulseShape * GetPulseShape()
Get AnalyticPulseShape pointer for phase evaluation.
Definition AnalyticRFPulse.h:80
virtual string GetInfo()
Definition AnalyticRFPulse.cpp:63
~AnalyticRFPulse()
Default destructor.
Definition AnalyticRFPulse.h:54
AnalyticRFPulse()
Default constructor.
Definition AnalyticRFPulse.h:44
AnalyticPulseShape m_pulse_shape
Definition AnalyticRFPulse.h:97
Super class for all RF pulses.
Definition RFPulse.h:36

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