JEMRIS  2.8.1
open-source MRI simulations
SechRFPulse.h
Go to the documentation of this file.
1 
5 /*
6  * JEMRIS Copyright (C)
7  * 2006-2015 Tony Stoecker
8  * 2007-2015 Kaveh Vahedipour
9  * 2009-2015 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 
36 class SechRFPulse : public RFPulse {
37 
38  public:
39 
44 
48  SechRFPulse (const SechRFPulse&);
49 
53  ~SechRFPulse () {};
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 
84  double m_max_amplitude;
85  double m_sech_phase;
86 
87 };
88 
89 #endif
SechRFPulse()
Default constructor.
Definition: SechRFPulse.h:43
double m_max_amplitude
Maximum amplitude.
Definition: SechRFPulse.h:80
Implementation of JEMRIS RFPulse.
Sech shaped radio frequency pulses.
Definition: SechRFPulse.h:36
Module super class! ABC for all Objects in the sequence framework.
Definition: Module.h:41
mode
Definition: Declarations.h:112
SechRFPulse * Clone() const
Definition: SechRFPulse.h:58
~SechRFPulse()
Default destructor.
Definition: SechRFPulse.h:53
virtual void SetTPOIs()
Definition: SechRFPulse.cpp:65
Super class for all RF pulses.
Definition: RFPulse.h:36
virtual bool Prepare(PrepareMode mode)
Prepare the hard RF pulse.
Definition: SechRFPulse.cpp:35
virtual double GetMagnitude(double time)
Returns the Sech Magnitidue for all times.
Definition: SechRFPulse.cpp:54

-- last change 17.06.2016 | Tony Stoecker | Imprint --