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
|
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
|
matrix with the sensor data reordered to its original position on the sensor mask |
See Also
kWaveGrid, kspaceFirstOrder1D, kspaceFirstOrder2D, kspaceFirstOrder3D, reorderSensorData