AttocubeScan.regrid

AttocubeScan.regrid(**kargs)

Regrid the data sets based on PosX and PosY channels.

Keyword Parameters:
x_range, y_range (tuple of start, stop, points):

Range of x-y co-rdinates to regrid the data to. Used as an argument to np.linspace() to generate the co-ordinate vector.

in_place (bool):

If True then replace the existing datasets with the regridded data, otherwise create a new copy of the scan object. Default is False.

Returns

(AttocubeScan) – Scan object with regridded data. May be the same as the source object if in_place is True.