Read and retrieve data of external pulse shapes.
More...
#include <ExternalPulseData.h>
|
|
| ~ExternalPulseData () |
| | Default destructor.
|
| |
|
| ExternalPulseData () |
| | constructor
|
| |
|
void | SetPulse (Pulse *p) |
| | set the pulse owning this
|
| |
| double | GetData (double const time) |
| | get the data
|
| |
| void | SetInterp (bool b) |
| | linear interpolation
|
| |
| bool | ReadPulseShape (string fname, bool verbose) |
| | Read the pulse shape data.
|
| |
| void | SetTPOIs () |
| |
|
int | GetLowerIndex (double time) |
| | find data index for interpolation get lower index for given timepoint using hunt search algorithm.
|
| |
|
|
static double | GetPhase (Module *mod, double time) |
| |
|
|
Pulse * | m_pulse |
| | My pulse.
|
| |
|
string | m_fname |
| | HDF5 file with time points and amps [and phases].
|
| |
|
vector< double > | m_times |
| | My sample time points
|
| |
|
vector< double > | m_magnitudes |
| | My corresponding amplitudes
|
| |
|
vector< double > | m_phases |
| | Vector of phases
|
| |
|
double | m_phase |
| | current phase
|
| |
|
bool | m_interp |
| | if true, linear interpolation is applied
|
| |
|
int | m_LastHuntIndex |
| |
|
|
class | ExternalGradPulse |
| |
|
class | ExternalRFPulse |
| |
Read and retrieve data of external pulse shapes.
◆ GetData()
| double ExternalPulseData::GetData |
( |
double const | time | ) |
|
|
private |
get the data
- Parameters
-
- Returns
- data (Gradient value or RF magnitude)
◆ ReadPulseShape()
| bool ExternalPulseData::ReadPulseShape |
( |
string | fname, |
|
|
bool | verbose ) |
|
private |
Read the pulse shape data.
- Parameters
-
◆ SetInterp()
| void ExternalPulseData::SetInterp |
( |
bool | b | ) |
|
|
inlineprivate |
linear interpolation
- Parameters
-
- Returns
- interpolated data
◆ SetTPOIs()
| void ExternalPulseData::SetTPOIs |
( |
| ) |
|
|
private |
The documentation for this class was generated from the following files: