Go to the source code of this file.
◆ IUNPP_INVALID
| #define IUNPP_INVALID (iunpp_t) NULL |
◆ iunpp_t
A non parametric pulse describes an ultrasound transmit pulse using a piecewise linear approximation with a number of {time,voltage} pairs.
◆ iufNonParametricPulseCompare()
| int iufNonParametricPulseCompare |
( |
iunpp_t |
reference, |
|
|
iunpp_t |
actual |
|
) |
| |
◆ iufNonParametricPulseCreate()
| iunpp_t iufNonParametricPulseCreate |
( |
int |
numPulseValues | ) |
|
◆ iufNonParametricPulseDelete()
| int iufNonParametricPulseDelete |
( |
iunpp_t |
pulse | ) |
|
◆ iufNonParametricPulseGetNumValues()
| int iufNonParametricPulseGetNumValues |
( |
iunpp_t |
pulse | ) |
|
Get the number of {time, voltage} pairs.
- Returns
- Returns the number of {time, voltage} pairs or -1 in case of an error
- Parameters
-
◆ iufNonParametricPulseGetValueAmplitude()
| float iufNonParametricPulseGetValueAmplitude |
( |
iunpp_t |
pulse, |
|
|
int |
index |
|
) |
| |
Get the voltage value at location index.
- Returns
- Returns the voltage at
index in Volt or IUF_ERR_VALUE in case of an error
- Parameters
-
◆ iufNonParametricPulseGetValueTime()
| float iufNonParametricPulseGetValueTime |
( |
iunpp_t |
pulse, |
|
|
int |
index |
|
) |
| |
Get the time at location index.
- Returns
- Returns the time at
index in seconds or IUF_ERR_VALUE in case of an error
- Parameters
-
◆ iufNonParametricPulseSetValue()
| int iufNonParametricPulseSetValue |
( |
iunpp_t |
pulse, |
|
|
int |
index, |
|
|
float |
pulseTime, |
|
|
float |
pulseAmplitude |
|
) |
| |
Set a {time, voltage} pair at location index.
- Returns
- Returns IUF_E_OK when succesful and IUF_ERR_VALUE in case of invalid parameters
- Parameters
-
| pulse | The IufNonParametricPulse of interest |
| index | The index of the {time, voltage} pairs |
| pulseTime | the time in seconds |
| pulseAmplitude | the amplitude in Volt |