Go to the source code of this file.
◆ IURCM_INVALID
| #define IURCM_INVALID (iurcm_t) NULL |
◆ iurcm_t
The receive channel map is a list of with numChannels containing the indices of the transducer elements and a channel delay of each channel. During an acquisition not all transducer elements might be digitized, i.e. due to bandwidth limitations and might not all be synchronous. If only numChannels are digitized in parallel, the receivechannelmap indicates which transducers elements are selected (and there order).
◆ iufReceiveChannelMapCompare()
◆ iufReceiveChannelMapCreate()
| iurcm_t iufReceiveChannelMapCreate |
( |
int |
numChannels | ) |
|
Create an empty IufReceiveChannelMap with a size of numChannels.
- Returns
- Returns the created map or IURCM_INVALID in case of an error.
◆ iufReceiveChannelMapDelete()
| int iufReceiveChannelMapDelete |
( |
iurcm_t |
channelMap | ) |
|
◆ iufReceiveChannelMapGetChannel()
| int iufReceiveChannelMapGetChannel |
( |
iurcm_t |
channelMap, |
|
|
int |
index |
|
) |
| |
Get the index value (the transducer element number) at channelMap mapIdx.
- Returns
- Returns the index or -1 in case it was not found
- Parameters
-
◆ iufReceiveChannelMapGetNumChannels()
| int iufReceiveChannelMapGetNumChannels |
( |
iurcm_t |
channelMap | ) |
|
Get the number of channels that the map has.
- Returns
- Returns the map size
- Parameters
-
◆ iufReceiveChannelMapGetNumDelays()
| int iufReceiveChannelMapGetNumDelays |
( |
iurcm_t |
channelMap | ) |
|
Same as iufReceiveChannelMapGetNumChannels.
- Returns
- Returns the number of channels which is equal to the number of start delays.
- Parameters
-
◆ iufReceiveChannelMapGetStartDelay()
| float iufReceiveChannelMapGetStartDelay |
( |
iurcm_t |
channelMap, |
|
|
int |
index |
|
) |
| |
Gets the (digitization) delay of each channel.
- Returns
- Returns the delay value in seconds.
- Parameters
-
◆ iufReceiveChannelMapSetChannel()
| int iufReceiveChannelMapSetChannel |
( |
iurcm_t |
channelMap, |
|
|
int |
index, |
|
|
int |
transducerIdx |
|
) |
| |
Sets the transducer index for a channel.
- Returns
- Returns IUF_E_OK when succesful or -1 in case of an invalid argument.
- Parameters
-
| channelMap | the IufReceiveChannelMap of interest |
| index | the channel index |
| transducerIdx | the transducer index |
◆ iufReceiveChannelMapSetMap()
| int iufReceiveChannelMapSetMap |
( |
iurcm_t |
channelMap, |
|
|
int * |
map |
|
) |
| |
Sets a transducer index for all channels at once.
- Returns
- Returns IUF_E_OK when succesful or -1 in case of an invalid argument.
- Parameters
-
◆ iufReceiveChannelMapSetStartDelay()
| int iufReceiveChannelMapSetStartDelay |
( |
iurcm_t |
channelMap, |
|
|
int |
index, |
|
|
float |
delay |
|
) |
| |
Sets the (digitization) delay of a channel [seconds]. If not set the value is 0.0f.
- Returns
- Returns IUF_E_OK when succesful or -1 in case of an invalid argument.
- Parameters
-
| channelMap | the IufReceiveChannelMap of interest |
| index | the channel index |
| delay | the channel delay in seconds |