JEMRIS 2.9.1
open-source MRI simulations
Loading...
Searching...
No Matches
ConstantGradPulse.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2023 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 CONSTANTGRADPULSE_H_
28#define CONSTANTGRADPULSE_H_
29
30#include "GradPulse.h"
31
36
37
38public:
39
44
49
54
58 inline ConstantGradPulse* Clone() const {return (new ConstantGradPulse(*this));};
59
63 virtual bool Prepare (const PrepareMode mode);
64
68 virtual double GetGradient (double const time);
69
70 protected:
71
77 virtual string GetInfo ();
78
79 double m_amplitude;
81};
82
83#endif /*PE_TRAPGRADPULSE_H_*/
mode
Definition: Declarations.h:112
Implementation of JEMRIS GradPulse.
Gradient with constant amplitude.
Definition: ConstantGradPulse.h:35
ConstantGradPulse * Clone() const
Definition: ConstantGradPulse.h:58
virtual bool Prepare(const PrepareMode mode)
Definition: ConstantGradPulse.cpp:36
virtual string GetInfo()
Get informations on this analytic gradient.
Definition: ConstantGradPulse.cpp:67
~ConstantGradPulse()
Default destructor.
Definition: ConstantGradPulse.h:53
virtual double GetGradient(double const time)
Definition: ConstantGradPulse.cpp:60
ConstantGradPulse()
Default constructor.
Definition: ConstantGradPulse.h:43
double m_amplitude
Definition: ConstantGradPulse.h:79
Base class and prototype for all gradient pulses.
Definition: GradPulse.h:36

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