56 virtual void GetValue (
double * dAllVal,
double const time);
mode
Definition Declarations.h:112
Implementation of JEMRIS Pulse.
Prototype of an Eddy pulse.
Definition EddyPulse.h:35
Base class and prototype for all gradient pulses.
Definition GradPulse.h:36
double m_rise_time
The constant rise time of this gradient pulse.
Definition GradPulse.h:130
bool HasNonLinGrad()
Check, whether this gradient is nonlinear.
Definition GradPulse.h:113
virtual ~GradPulse()
Definition GradPulse.cpp:68
bool m_eddy_currents
A flag for nonlinear gradients.
Definition GradPulse.h:140
double m_eddy_val
value of eddy current
Definition GradPulse.h:142
double m_nlg_field
Nonlinear gradient field (NLG)
Definition GradPulse.h:134
virtual void GenerateEvents(std::vector< Event * > &events)
Definition GradPulse.cpp:211
virtual void GetValue(double *dAllVal, double const time)
Get the value of this element.
Definition GradPulse.cpp:202
bool m_hide
Hide this gradient (not played out, but its ECs!)
Definition GradPulse.h:146
double m_nlg_val
gradient value to compute the NLG field
Definition GradPulse.h:138
void SetArea(double val)
Set the area of this gradient pulse.
Definition GradPulse.cpp:274
double m_eddy_time
time of eddy current
Definition GradPulse.h:141
int m_ec_length
convolution length of eddy current
Definition GradPulse.h:144
double m_nlg_px
x-position to compute the NLG field
Definition GradPulse.h:135
double m_nlg_py
y-position to compute the NLG field
Definition GradPulse.h:136
EddyPulse * m_eddy_pulse
pulse for eddy currents
Definition GradPulse.h:145
virtual double GetGradient(double const time)=0
Get the value of the gradient pulse at time t.
double m_slew_rate
The slewrate of this gradient pulse.
Definition GradPulse.h:128
double m_nlg_pz
z-position to compute the NLG field
Definition GradPulse.h:137
double m_max_ampl
The maximum amplitude of this gradient pulse.
Definition GradPulse.h:129
virtual string GetInfo()
Definition GradPulse.cpp:294
GradPulse(const GradPulse &)
virtual bool Prepare(PrepareMode mode)
see Module::Prepare()
Definition GradPulse.cpp:160
virtual bool PrepareNLGfield(PrepareMode mode)
Preparation of Nonlinear Gradient fields.
Definition GradPulse.cpp:73
GradPulse()
Definition GradPulse.cpp:32
virtual bool PrepareEddyCurrents(PrepareMode mode, int steps=5000)
Calculate Eddy Currents of this Gradient.
Definition GradPulse.cpp:115
bool m_non_lin_grad
A flag for nonlinear gradients.
Definition GradPulse.h:133
double m_area
The area of the gradient pulse.
Definition GradPulse.h:131
void SetNonLinGradField(double const time)
Set the nonlinear gradient field term World::NonLinGradField.
Definition GradPulse.cpp:262
double GetAreaNumeric(int steps)
get the area of this gradient pulse by numerical integration.
Definition GradPulse.cpp:280
double m_ec_area
area of eddy current
Definition GradPulse.h:143
Pulse Super Class. ABC for all RF and gradient pulses.
Definition Pulse.h:41