|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <math.h>#include <stdlib.h>#include <string.h>#include <iuf.h>#include <iufPulsePrivate.h>Data Structures | |
| struct | IufParametricPulse |
Functions | |
| iupp_t | iufParametricPulseCreate (float pulseFrequency, float pulseAmplitude, int numPulses) |
| int | iufParametricPulseDelete (iupp_t pulse) |
| IUF_BOOL | iufParametricPulseCompare (iupp_t reference, iupp_t actual) |
| float | iufParametricPulseGetFrequency (iupp_t pulse) |
| float | iufParametricPulseGetPulseAmplitude (iupp_t pulse) |
| int | iufParametricPulseGetNumPulses (iupp_t pulse) |
| int | iufParametricPulseSave (iupp_t pulse, hid_t handle) |
| iupp_t | iufParametricPulseLoad (hid_t handle) |
| struct IufParametricPulse |
| Data Fields | ||
|---|---|---|
| struct IufPulse | base | |
| int | numPulses |
number of cycles that the pulse represents |
| float | pulseAmplitude |
(max) amplitude of the pulse in Volts |
| float | pulseFrequency |
frequency that the pulse represents in Hz |
Compares two parametric pulses. It doesn't matter which is the reference and the actual. /return
| reference | when comparing two parametric pulses: the reference |
| actual | when comparing two parametric pulses: the pulse to compare with the reference |
| iupp_t iufParametricPulseCreate | ( | float | pulseFrequency, |
| float | pulseAmplitude, | ||
| int | numPulses | ||
| ) |
Create the parametric pulse that is described by a sinusoid with the three parameters: frequency, amplitude and number of periods
/return the created pulse
| pulseFrequency | The frequency in Hz of the transmitted sinusoid |
| pulseAmplitude | The Amplitude of the pulse in Volt |
| numPulses | The number of periods the pulse. |
| int iufParametricPulseDelete | ( | iupp_t | pulse | ) |
Deletes a parametric pulse
| pulse | The paramteric pulse to be deleted |
| float iufParametricPulseGetFrequency | ( | iupp_t | pulse | ) |
| pulse | Returns the frequency in Hz of this pararmetric pulse |
| int iufParametricPulseGetNumPulses | ( | iupp_t | pulse | ) |
| pulse | Returns the number of periods that this pararmetric pulse has |
| float iufParametricPulseGetPulseAmplitude | ( | iupp_t | pulse | ) |
| pulse | Returns the amplitude in Hz of this pararmetric pulse |
| iupp_t iufParametricPulseLoad | ( | hid_t | handle | ) |
< frequency that the pulse represents in Hz
< (max) amplitude of the pulse in Volts
< number of cycles that the pulse represents
| int iufParametricPulseSave | ( | iupp_t | pulse, |
| hid_t | handle | ||
| ) |