ODIN
|
Trapezoidal gradient. More...
#include <seqgradtrapez.h>
Public Member Functions | |
SeqGradTrapez (const STD_string &object_label, direction gradchannel, float gradstrength, double constgradduration, double timestep=0.01, rampType type=linear, double minrampduration=0.0, float steepness=1.0) | |
SeqGradTrapez (const STD_string &object_label, float gradintegral, direction gradchannel, double constgradduration, double timestep=0.01, rampType type=linear, double minrampduration=0.0, float steepness=1.0) | |
SeqGradTrapez (const STD_string &object_label, float gradintegral, float gradstrength, direction gradchannel, double timestep=0.01, rampType type=linear, double minrampduration=0.0, float steepness=1.0) | |
SeqGradTrapez (const SeqGradTrapez &sgt) | |
SeqGradTrapez (const STD_string &object_label="unnamedSeqGradTrapez") | |
SeqGradTrapez & | operator= (const SeqGradTrapez &sgt) |
SeqGradTrapez & | set_constgrad_duration (double duration) |
double | get_onramp_duration () const |
double | get_constgrad_duration () const |
double | get_offramp_duration () const |
float | get_onramp_integral (double tmin, double tmax) const |
float | get_onramp_integral () const |
float | get_constgrad_integral () const |
float | get_offramp_integral (double tmin, double tmax) const |
float | get_offramp_integral () const |
SeqGradTrapez & | set_integral (float gradintegral) |
float | get_integral () const |
unsigned int | get_onramp_npts () const |
unsigned int | get_const_npts () const |
unsigned int | get_offramp_npts () const |
unsigned int | get_npts () const |
fvector | get_onramp () const |
fvector | get_offramp () const |
fvector | get_trapezshape () const |
double | get_timestep () const |
rampType | get_ramptype () const |
SeqGradTrapez & | exclude_offramp_from_timing (bool flag) |
float | get_strength () const |
double | get_gradduration () const |
Public Member Functions inherited from SeqGradChanList | |
SeqGradChanList (const STD_string &object_label="unnamedSeqGradChanList") | |
SeqGradChanList (const SeqGradChanList &sgcl) | |
~SeqGradChanList () | |
SeqGradChanList & | operator= (const SeqGradChanList &sgcl) |
double | get_duration () const |
STD_string | get_properties () const |
unsigned int | event (eventContext &context) const |
void | query (queryContext &context) const |
SeqGradInterface & | set_strength (float gradstrength) |
SeqGradInterface & | invert_strength () |
fvector | get_gradintegral () const |
SeqGradInterface & | set_gradrotmatrix (const RotMatrix &matrix) |
direction | get_channel () const |
SeqGradChanList & | operator+= (SeqGradChanList &sgcl) |
SeqGradChanList & | operator+= (SeqGradChan &sgc) |
Public Member Functions inherited from List< SeqGradChan, SeqGradChan *, SeqGradChan & > | |
List () | |
~List () | |
List & | operator= (const List &l) |
List & | clear () |
List & | append (SeqGradChan & item) |
List & | remove (SeqGradChan & item) |
unsigned int | size () const |
iter | get_begin () |
iter | get_end () |
constiter | get_const_begin () const |
constiter | get_const_end () const |
Public Member Functions inherited from SeqGradInterface | |
float | get_gradintegral_norm () const |
Public Member Functions inherited from SeqClass | |
SeqClass & | set_temporary () |
Public Member Functions inherited from Labeled | |
Labeled (const STD_string &label="unnamed") | |
Labeled & | set_label (const STD_string &label) |
const STD_string & | get_label () const |
Labeled & | operator= (const Labeled &l) |
Public Member Functions inherited from SeqTreeObj | |
virtual STD_string | get_program (programContext &context) const |
virtual RecoValList | get_recovallist (unsigned int reptimes, LDRkSpaceCoords &coords) const |
bool | contains (const SeqTreeObj *sto) const |
void | tree (SeqTreeCallbackAbstract *display) const |
virtual SeqValList | get_freqvallist (freqlistAction action) const |
virtual SeqValList | get_delayvallist () const |
virtual double | get_rf_energy () const |
Additional Inherited Members | |
Public Types inherited from List< SeqGradChan, SeqGradChan *, SeqGradChan & > | |
typedef STD_list< SeqGradChan * >::iterator | iter |
typedef STD_list< SeqGradChan * >::const_iterator | constiter |
Protected Member Functions inherited from SeqClass | |
void | marshall_error () const |
virtual bool | prep () |
Static Protected Member Functions inherited from SeqClass | |
static void | clear_temporary () |
static void | clear_containers () |
Trapezoidal gradient.
This class represents a gradient pulse with a trapezoidal shape, i.e. a piecewise constant gradient with ramps
Definition at line 141 of file seqgradtrapez.h.
SeqGradTrapez::SeqGradTrapez | ( | const STD_string & | object_label, |
direction | gradchannel, | ||
float | gradstrength, | ||
double | constgradduration, | ||
double | timestep = 0.01 , |
||
rampType | type = linear , |
||
double | minrampduration = 0.0 , |
||
float | steepness = 1.0 |
||
) |
Constructs a gradient pulse labeled 'object_label' with the following properties:
SeqGradTrapez::SeqGradTrapez | ( | const STD_string & | object_label, |
float | gradintegral, | ||
direction | gradchannel, | ||
double | constgradduration, | ||
double | timestep = 0.01 , |
||
rampType | type = linear , |
||
double | minrampduration = 0.0 , |
||
float | steepness = 1.0 |
||
) |
Constructs a gradient pulse labeled 'object_label' with the following properties:
SeqGradTrapez::SeqGradTrapez | ( | const STD_string & | object_label, |
float | gradintegral, | ||
float | gradstrength, | ||
direction | gradchannel, | ||
double | timestep = 0.01 , |
||
rampType | type = linear , |
||
double | minrampduration = 0.0 , |
||
float | steepness = 1.0 |
||
) |
Constructs a gradient pulse labeled 'object_label' with the following properties:
SeqGradTrapez::SeqGradTrapez | ( | const SeqGradTrapez & | sgt | ) |
Constructs a copy of 'sgt'
SeqGradTrapez::SeqGradTrapez | ( | const STD_string & | object_label = "unnamedSeqGradTrapez" | ) |
Construct an empty gradient pulse with the given label
SeqGradTrapez& SeqGradTrapez::exclude_offramp_from_timing | ( | bool | flag | ) |
Spefifies whether to exclude the off-ramp from timing calculations
unsigned int SeqGradTrapez::get_const_npts | ( | ) | const |
Returns the number of digitised points during the constant part
|
inline |
Returns the duration of the constant part of the gradient pulse
Definition at line 225 of file seqgradtrapez.h.
|
inline |
Returns the integral of the constant part
Definition at line 247 of file seqgradtrapez.h.
|
inlinevirtual |
Returns the duration of the gradient object. This function returns only the effective duration during whichthe gradient is active, any delays before and after the gradient are omitted.
Reimplemented from SeqGradChanList.
Definition at line 323 of file seqgradtrapez.h.
float SeqGradTrapez::get_integral | ( | ) | const |
Returns the overall integral of the gradient pulse
unsigned int SeqGradTrapez::get_npts | ( | ) | const |
Returns the total number of digitised points
|
inline |
Returns the waveform of the ramp that switches the gradient pulse on
Definition at line 298 of file seqgradtrapez.h.
|
inline |
Returns the duration of the ramp that switches the gradient pulse off
Definition at line 231 of file seqgradtrapez.h.
|
inline |
Returns the integral of the ramp that switches the gradient pulse off
Definition at line 257 of file seqgradtrapez.h.
|
inline |
Returns the integral of the ramp that switches the gradient pulse off from tmin to tmax
Definition at line 252 of file seqgradtrapez.h.
unsigned int SeqGradTrapez::get_offramp_npts | ( | ) | const |
Returns the number of digitised points of the ramp that switches the gradient pulse off
|
inline |
Returns the waveform of the ramp that switches the gradient pulse on
Definition at line 293 of file seqgradtrapez.h.
|
inline |
Returns the duration of the ramp that switches the gradient pulse on
Definition at line 219 of file seqgradtrapez.h.
|
inline |
Returns the integral of the ramp that switches the gradient pulse on
Definition at line 242 of file seqgradtrapez.h.
|
inline |
Returns the integral of the ramp that switches the gradient pulse on from tmin to tmax
Definition at line 237 of file seqgradtrapez.h.
unsigned int SeqGradTrapez::get_onramp_npts | ( | ) | const |
Returns the number of digitised points of the ramp that switches the gradient pulse on
|
inline |
Returns the shape type of the ramps
Definition at line 313 of file seqgradtrapez.h.
|
inlinevirtual |
Returns the strength of the gradient object
Reimplemented from SeqGradChanList.
Definition at line 322 of file seqgradtrapez.h.
|
inline |
Returns the time resolution for the ramps
Definition at line 308 of file seqgradtrapez.h.
fvector SeqGradTrapez::get_trapezshape | ( | ) | const |
Returns a waveform which is a digitised version of the whole trapezoid
SeqGradTrapez& SeqGradTrapez::operator= | ( | const SeqGradTrapez & | sgt | ) |
Assignment operator that makes this gradient pulse become a copy of 'sgt'
SeqGradTrapez& SeqGradTrapez::set_constgrad_duration | ( | double | duration | ) |
Sets the duration of the constant part of the gradient pulse
SeqGradTrapez& SeqGradTrapez::set_integral | ( | float | gradintegral | ) |
Sets the overall integral of the gradient pulse