pan><a class="headerlink" href="#pySurf.data2D.resample_data" title="Link to this definition">¶</a></dt>
<dd><p>Resample d1 [Ny’ x Nx’] on x and y from d2[Nx x Ny].</p>
<p>d1 and d2 are passed as list of data,x,y.
Return a [Nx x Ny] data.
onfirst allow to resample second array on first (same as swapping args).
To get a (plottable) matrix of data use:
plt.imshow(rpoints[:,2].reshape(ygrid.size,xgrid.size)).</p>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="pySurf.data2D.rotate_d