.php xmlns="http://www.w3.org/1999/.php"> - k-Wave MATLAB Toolbox
k-Wave Toolbox

unmaskSensorData

Reorder data recorded using a binary sensor mask.

Syntax

unmasked_sensor_data = unmaskSensorData(kgrid, sensor, sensor_data)

Description

unmaskSensorData restores the grid position of the data recorded at a single time-step within the time-series data returned by kspaceFirstOrder1D, kspaceFirstOrder2D, or kspaceFirstOrder3D when using a binary sensor mask.

Inputs

kgrid

k-Wave grid object returned by kWaveGrid
sensor k-Wave sensor structure where sensor.mask is defined as a binary grid
sensor_data sensor data (returned by the first order simulation functions) at a single time-step ordered using MATLAB's standard column-wise linear matrix indexing

Outputs

unmasked_sensor_data

matrix with the sensor data reordered to its original position on the sensor mask

See Also

kWaveGrid, kspaceFirstOrder1D, kspaceFirstOrder2D, kspaceFirstOrder3D, reorderSensorData
<.php>