4#ifndef _202fc48b_829a_440a_a766_6efbf58f69d1
5#define _202fc48b_829a_440a_a766_6efbf58f69d1
53 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
55 MrProt & protocol, SeqLim & limits, SeqExpo & exports)
override;
Trapezoidal or arbitrary gradient pulse on three axes.
Definition GradientPulse.h:21
Vector3d const & start() const
Return the starting k-space point.
Linear & setStart(Vector3d const &start)
Set the starting k-space point.
Vector3d const & end() const
Return the end k-space point.
msl::GradientPulse _computeGradient() const
Return the gradient lobe corresponding to the current start and end.
Vector3d _end
End k-space point.
Definition Linear.h:62
Linear & setEnd(Vector3d const &end)
Set the end k-space point.
void update()
Update the gradient following a modification of start and/or end.
std::size_t _size
Number of discrete k-space points.
Definition Linear.h:65
Linear & setSize(std::size_t size)
Set the number of discrete k-space points.
NLSStatus prepare(MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
Prepare the real-time events.
Linear()
Create a null readout.
Vector3d _start
Starting k-space point.
Definition Linear.h:59
std::size_t size() const
Return the number of discrete k-space points.
NLSStatus run(MrProt &protocol, SeqLim &limits, SeqExpo &exports) override
Run the real-time events.
Namespace for all Readout-derived objects.
Definition Linear.h:16
Top-level namespace of the msl library.
Definition acceleration.h:17
Vector< 3, double > Vector3d
3D vector of doubles
Definition Vector.h:136