JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
SincRFPulse.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 SINCRFPULSE_H_
28#define SINCRFPULSE_H_
29
31
32#include "RFPulse.h"
33
34class SincRFPulse : public RFPulse {
35
36 public:
37
42
46 SincRFPulse (const SincRFPulse&);
47
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;
92 double m_alpha;
94};
95
96#endif /*SINCRFPULSE_H_*/
mode
Definition Declarations.h:112
Implementation of JEMRIS RFPulse.
Super class for all RF pulses.
Definition RFPulse.h:36
The prototype for Sinc RF Pulse.
Definition SincRFPulse.h:34
virtual bool Prepare(PrepareMode mode)
Prepare the sinc RF pulse.
Definition SincRFPulse.cpp:41
~SincRFPulse()
Default destructor.
Definition SincRFPulse.h:51
virtual string GetInfo()
Definition SincRFPulse.cpp:86
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
virtual void SetTPOIs()
Definition SincRFPulse.cpp:75
double m_max_amplitude
Maximum amplitude of the sinc; derived from flipangle and duration in Prepare()
Definition SincRFPulse.h:91
virtual double GetMagnitude(double time)
Returns the sinc shape of this SincRFpulse.
Definition SincRFPulse.cpp:64
SincRFPulse * Clone() const
Definition SincRFPulse.h:56
SincRFPulse()
Default constructor.
Definition SincRFPulse.h:41

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