ODIN
|
Gradient Ramp. More...
#include <seqgradramp.h>
Public Member Functions | |
SeqGradRamp (const STD_string &object_label, direction gradchannel, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, float steepnessfactor=1.0, bool reverse=false) | |
SeqGradRamp (const STD_string &object_label, direction gradchannel, double gradduration, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, bool reverse=false) | |
SeqGradRamp (const SeqGradRamp &sgr) | |
SeqGradRamp (const STD_string &object_label="unnamedSeqGradRamp") | |
SeqGradRamp & | set_ramp (float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, float steepnessfactor=1.0, bool reverse=false) |
SeqGradRamp & | set_ramp (double gradduration, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, bool reverse=false) |
rampType | get_ramptype () const |
SeqGradRamp & | operator= (const SeqGradRamp &sgr) |
SeqGradInterface & | set_strength (float gradstrength) |
Public Member Functions inherited from SeqGradWave | |
SeqGradWave (const STD_string &object_label, direction gradchannel, double gradduration, float maxgradstrength, const fvector &waveform) | |
SeqGradWave (const SeqGradWave &sgw) | |
SeqGradWave (const STD_string &object_label="unnamedSeqGradWave") | |
SeqGradWave & | set_wave (const fvector &waveform) |
const fvector & | get_wave () const |
float | get_integral (double tmin, double tmax) const |
unsigned int | get_npts () const |
unsigned int | size () const |
double | get_timestep () const |
float | operator[] (unsigned int i) const |
SeqGradWave & | operator= (const SeqGradWave &sgw) |
Public Member Functions inherited from SeqGradChan | |
SeqGradChan (const STD_string &object_label, direction gradchannel, float gradstrength, double gradduration) | |
SeqGradChan (const STD_string &object_label="unnamedSeqGradChan") | |
SeqGradChan (const SeqGradChan &sgc) | |
virtual | ~SeqGradChan () |
SeqGradChan & | operator= (const SeqGradChan &sgc) |
virtual direction | get_channel () const |
SeqGradInterface & | invert_strength () |
float | get_strength () const |
double | get_gradduration () const |
SeqGradInterface & | set_gradrotmatrix (const RotMatrix &matrix) |
fvector | get_gradintegral () const |
STD_string | get_properties () const |
unsigned int | event (eventContext &context) 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 SeqDur | |
SeqDur (const STD_string &object_label, float duration) | |
SeqDur (const STD_string &object_label="unnamedSeqDur") | |
SeqDur (const SeqDur &sd) | |
SeqDur & | set_duration (float duration) |
double | get_duration () const |
SeqDur & | operator= (const SeqDur &sd) |
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 | |
Protected Member Functions inherited from SeqGradChan | |
float | get_grdfactor (direction chan) const |
fvector | get_grdfactors_norot () const |
Protected Member Functions inherited from SeqClass | |
void | marshall_error () const |
virtual void | clear_container () |
Protected Member Functions inherited from SeqTreeObj | |
virtual void | query (queryContext &context) const |
Static Protected Member Functions inherited from SeqClass | |
static void | clear_temporary () |
static void | clear_containers () |
Gradient Ramp.
This class represents a digitized gradient ramp.
Definition at line 52 of file seqgradramp.h.
SeqGradRamp::SeqGradRamp | ( | const STD_string & | object_label, |
direction | gradchannel, | ||
float | initgradstrength, | ||
float | finalgradstrength, | ||
double | timestep, | ||
rampType | type = linear , |
||
float | steepnessfactor = 1.0 , |
||
bool | reverse = false |
||
) |
Constructs a gradient ramp labeled 'object_label' with the following properties:
SeqGradRamp::SeqGradRamp | ( | const STD_string & | object_label, |
direction | gradchannel, | ||
double | gradduration, | ||
float | initgradstrength, | ||
float | finalgradstrength, | ||
double | timestep, | ||
rampType | type = linear , |
||
bool | reverse = false |
||
) |
Constructs a gradient ramp labeled 'object_label' with the following properties:
SeqGradRamp::SeqGradRamp | ( | const SeqGradRamp & | sgr | ) |
Constructs a copy of 'sgr'
SeqGradRamp::SeqGradRamp | ( | const STD_string & | object_label = "unnamedSeqGradRamp" | ) |
Construct an empty gradient object with the given label
|
inline |
Returns the shape for the ramp
Definition at line 127 of file seqgradramp.h.
SeqGradRamp& SeqGradRamp::operator= | ( | const SeqGradRamp & | sgr | ) |
Assignment operator that makes this gradient channel object become a copy of 'sgr'
SeqGradRamp& SeqGradRamp::set_ramp | ( | double | gradduration, |
float | initgradstrength, | ||
float | finalgradstrength, | ||
double | timestep, | ||
rampType | type = linear , |
||
bool | reverse = false |
||
) |
Sets the ramp according to the following parameters:
SeqGradRamp& SeqGradRamp::set_ramp | ( | float | initgradstrength, |
float | finalgradstrength, | ||
double | timestep, | ||
rampType | type = linear , |
||
float | steepnessfactor = 1.0 , |
||
bool | reverse = false |
||
) |
Sets the ramp according to the following parameters:
|
virtual |
Changes the strength of the gradient object
Reimplemented from SeqGradChan.