JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
SechRFPulse.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 SECHRFPULSE_H_
28#define SECHRFPULSE_H_
29
30#include "RFPulse.h"
31
36class SechRFPulse : public RFPulse {
37
38 public:
39
44
48 SechRFPulse (const SechRFPulse&);
49
54
58 inline SechRFPulse* Clone() const { return (new SechRFPulse(*this)); };
59
64 virtual bool Prepare (PrepareMode mode) ;
65
72 virtual double GetMagnitude (double time );
73
77 virtual void SetTPOIs () ;
78
79 virtual double GetPhase() { return m_sech_phase;};
80 static double GetSechPhase (Module* mod, double time ) { return (((SechRFPulse*) mod)->GetPhase() ); };
81
82 protected:
83
85 double m_sech_phase;
86
87};
88
89#endif
mode
Definition Declarations.h:112
Implementation of JEMRIS RFPulse.
Module super class! ABC for all Objects in the sequence framework.
Definition Module.h:41
Super class for all RF pulses.
Definition RFPulse.h:36
Sech shaped radio frequency pulses.
Definition SechRFPulse.h:36
SechRFPulse()
Default constructor.
Definition SechRFPulse.h:43
SechRFPulse * Clone() const
Definition SechRFPulse.h:58
double m_max_amplitude
Maximum amplitude.
Definition SechRFPulse.h:84
virtual double GetMagnitude(double time)
Returns the Sech Magnitidue for all times.
Definition SechRFPulse.cpp:54
virtual void SetTPOIs()
Definition SechRFPulse.cpp:65
virtual bool Prepare(PrepareMode mode)
Prepare the hard RF pulse.
Definition SechRFPulse.cpp:35
~SechRFPulse()
Default destructor.
Definition SechRFPulse.h:53

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