k-Wave Toolbox Previous   Next

unmaskSensorData

Reorder data recorded using a binary sensor mask

Syntax

unmasked_sensor_data = unmaskSensorData(sensor_data, sensor_mask, kgrid)

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

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

sensor_mask

binary sensor mask used in the simulation

kgrid

k-space grid structure returned by makeGrid

Outputs

unmasked_sensor_data

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

See Also

makeGrid, kspaceFirstOrder1D, kspaceFirstOrder2D, kspaceFirstOrder3D


© 2009, 2010 Bradley Treeby and Ben Cox.