WrightTools.data.Data.zoom

Data.zoom(factor, order=1, verbose=True)[source]

Zoom the data array using spline interpolation of the requested order.

The number of points along each axis is increased by factor. See scipy ndimage for more info.

Parameters:
  • factor (float) – The number of points along each axis will increase by this factor.
  • order (int (optional)) – The order of the spline used to interpolate onto new points.
  • verbose (bool (optional)) – Toggle talkback. Default is True.

See also

downscale()
Down-sample the data array using local averaging.