ODIN
|
Gradient Waveform. More...
#include <seqgradwave.h>
Public Member Functions | |
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 & | set_strength (float gradstrength) |
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 Waveform.
This class represents a gradient object with an arbitrarily shaped gradient field The physical gradient strengths of one data point is the product of the value of the waveform at that point and the gradient strength of this object
Definition at line 36 of file seqgradwave.h.
SeqGradWave::SeqGradWave | ( | const STD_string & | object_label, |
direction | gradchannel, | ||
double | gradduration, | ||
float | maxgradstrength, | ||
const fvector & | waveform | ||
) |
Constructs a gradient waveform labeled 'object_label' with the following properties:
SeqGradWave::SeqGradWave | ( | const SeqGradWave & | sgw | ) |
Constructs a copy of 'sgw'
SeqGradWave::SeqGradWave | ( | const STD_string & | object_label = "unnamedSeqGradWave" | ) |
Construct an empty gradient object with the given label
float SeqGradWave::get_integral | ( | double | tmin, |
double | tmax | ||
) | const |
Returns the integral of the waveform time tmin to time tmax (relative to the starting point of the ramp)
unsigned int SeqGradWave::get_npts | ( | ) | const |
Returns the number of digitised points for the waveform
|
inline |
Returns the sampling rate of the waveform
Definition at line 91 of file seqgradwave.h.
|
inline |
Returns the waveform that will be used
Definition at line 69 of file seqgradwave.h.
SeqGradWave& SeqGradWave::operator= | ( | const SeqGradWave & | sgw | ) |
Assignment operator that makes this gradient channel object become a copy of 'sgw'
|
inline |
Returns the i'th element of the waveform
Definition at line 96 of file seqgradwave.h.
SeqGradWave& SeqGradWave::set_wave | ( | const fvector & | waveform | ) |
Specifies the waveform that will be used
|
inline |
Returns the number of digitised points for the waveform
Definition at line 86 of file seqgradwave.h.