Public Member Functions | Friends

SeqGradVectorPulse Class Reference
[Classes for sequence design (odinseq library)]

Vector of gradient pulses. More...

#include <seqgradpulse.h>

Inheritance diagram for SeqGradVectorPulse:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SeqGradVectorPulse (const STD_string &object_label, direction gradchannel, float maxgradstrength, const fvector &trimarray, float gradduration)
 SeqGradVectorPulse (const SeqGradVectorPulse &sgvp)
 SeqGradVectorPulse (const STD_string &object_label="unnamedSeqGradVectorPulse")
SeqGradVectorPulseoperator= (const SeqGradVectorPulse &sgvp)
SeqGradVectorPulseset_trims (const fvector &trims)
fvector get_trims () const
SeqGradVectorPulseset_reorder_scheme (reorderScheme scheme, unsigned int nsegments=1)
SeqGradVectorPulseset_encoding_scheme (encodingScheme scheme)
const SeqVectorget_reorder_vector () const
SeqGradVectorPulseset_constduration (float duration)
double get_constduration () const
 operator const SeqVector & () const

Friends

class SeqGradPhaseEnc
class SeqGradEcho

Detailed Description

Vector of gradient pulses.

This class represents a gradient pulse with a constant gradient shape with the the strength taken from a vector. This object can be attached to a SeqLoop to iterate over the values in the vector.

Definition at line 103 of file seqgradpulse.h.


Constructor & Destructor Documentation

SeqGradVectorPulse::SeqGradVectorPulse ( const STD_string &  object_label,
direction  gradchannel,
float  maxgradstrength,
const fvector trimarray,
float  gradduration 
)

Constructs a gradient vector pulse labeled 'object_label' with the following properties:

  • gradchannel: The channel this object should be played out
  • maxgradstrength: The maximum gradient strength for this object
  • trimarray: The vector of gradient strength values
  • gradduration: The duration of this gradient object
SeqGradVectorPulse::SeqGradVectorPulse ( const SeqGradVectorPulse sgvp  ) 

Constructs a copy of 'sgvp'

SeqGradVectorPulse::SeqGradVectorPulse ( const STD_string &  object_label = "unnamedSeqGradVectorPulse"  ) 

Construct an empty gradient pulse with the given label


Member Function Documentation

double SeqGradVectorPulse::get_constduration (  )  const [inline]

getting duration of the gradient vector part

Definition at line 166 of file seqgradpulse.h.

const SeqVector& SeqGradVectorPulse::get_reorder_vector (  )  const [inline]

Returns the reordering vector (for loop insertion)

Definition at line 156 of file seqgradpulse.h.

fvector SeqGradVectorPulse::get_trims (  )  const [inline]

Returns the trim values that will be used

Definition at line 140 of file seqgradpulse.h.

SeqGradVectorPulse::operator const SeqVector & (  )  const [inline]

conversion operator for loop insertion

Definition at line 171 of file seqgradpulse.h.

SeqGradVectorPulse& SeqGradVectorPulse::operator= ( const SeqGradVectorPulse sgvp  ) 

Assignment operator that makes this constant gradient pulse object become a copy of 'sgvp'

SeqGradVectorPulse& SeqGradVectorPulse::set_constduration ( float  duration  )  [inline]

setting duration of the gradient vector part

Definition at line 161 of file seqgradpulse.h.

SeqGradVectorPulse& SeqGradVectorPulse::set_encoding_scheme ( encodingScheme  scheme  )  [inline]

Sets the phase encoding scheme and the number of phase encoding steps

Definition at line 151 of file seqgradpulse.h.

SeqGradVectorPulse& SeqGradVectorPulse::set_reorder_scheme ( reorderScheme  scheme,
unsigned int  nsegments = 1 
) [inline]

Sets the reordering scheme and the number of segments

Definition at line 145 of file seqgradpulse.h.

SeqGradVectorPulse& SeqGradVectorPulse::set_trims ( const fvector trims  )  [inline]

Specifies the trim values that will be used

Definition at line 135 of file seqgradpulse.h.


The documentation for this class was generated from the following file: