JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Public Attributes
GradEvent Class Reference

Gradient hardware event. More...

#include <Event.h>

+ Inheritance diagram for GradEvent:
+ Collaboration diagram for GradEvent:

Public Member Functions

bool operator== (const GradEvent &other) const
 Compare two gradient events. More...
- Public Member Functions inherited from Event
 Event ()
 Default constructor.
virtual ~Event ()
 Default destructor.
virtual bool operator== (const Event &other) const
 Compare two hardware events. More...

Public Attributes

int m_channel
 Channel (0, 1 or 2 for X,Y,Z)
double m_amplitude
 Amplitude (rad/ms/mm)
long m_ramp_up_time
 Ramp up time (us)
long m_flat_time
 Flat-top time (us)
long m_ramp_down_time
 Ramp down time (us)
int m_shape
 ID of gradient waveform (0 if trapezoid)
std::vector< double > m_samples
 samples of gradient waveform

Detailed Description

Gradient hardware event.

Stores information necessary to execute an gradient event on hardware. This class can represent two types of gradients:

Member Function Documentation

bool GradEvent::operator== ( const GradEvent other) const

Compare two gradient events.

See also

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

-- last change 17.06.2016 | Tony Stoecker | Imprint --