is function calculates the equivalent time-series at the sensor positions on the binary sensor mask from those on the Cartesian sensor mask via interpolation (nearest neighbour is used by default).</p>

<pre class="codeinput">
<span class="comment">% create a binary sensor mask of an equivalent continuous sphere</span>
pixel_radius = round(sensor_radius / kgrid_recon.dx);
binary_sensor_mask = makeSphere(kgrid_recon.Nx, kgrid_recon.Ny, kgrid_recon.Nz, pixel_radius);

<span class="comment">% interpolate data 