JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
SpiralGradPulse.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 _SPIRALGRADPULSE_H
28#define _SPIRALGRADPULSE_H
29
30#include <cmath>
31
32#include "GradPulse.h"
33#include "mtg_functions.h"
34
35// Spiral Gradient calculated with time optimal gradients (Lustig et. al.)
36
37class SpiralGradPulse : public GradPulse {
38
39 public:
40
45
50
55
59 inline SpiralGradPulse* Clone () const {return (new SpiralGradPulse(*this));};
60
66 virtual bool Prepare (const PrepareMode mode);
67
71 virtual double GetGradient (double const time);
72
73 protected:
79 virtual string GetInfo ();
80
81 double m_intl;
83 double m_fov;
84 double m_res;
86 size_t m_samples;
87 std::vector<double> m_amps;
89};
90
91#endif /*_SPIRALGRADPULSE_H*/
mode
Definition Declarations.h:112
Implementation of JEMRIS GradPulse.
Base class and prototype for all gradient pulses.
Definition GradPulse.h:36
Definition SpiralGradPulse.h:37
double m_res
Definition SpiralGradPulse.h:84
SpiralGradPulse()
Definition SpiralGradPulse.cpp:31
virtual bool Prepare(const PrepareMode mode)
Definition SpiralGradPulse.cpp:66
size_t m_samples
Definition SpiralGradPulse.h:86
int m_inward
Definition SpiralGradPulse.h:85
std::vector< double > m_amps
Definition SpiralGradPulse.h:87
double m_intl
Definition SpiralGradPulse.h:81
double m_grad_raster_time
Definition SpiralGradPulse.h:82
SpiralGradPulse * Clone() const
Definition SpiralGradPulse.h:59
~SpiralGradPulse()
Definition SpiralGradPulse.cpp:205
virtual string GetInfo()
Definition SpiralGradPulse.cpp:194
virtual double GetGradient(double const time)
Definition SpiralGradPulse.cpp:51
double m_fov
Definition SpiralGradPulse.h:83

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