ana3AIMEC.aimecTools.transform¶
- transform(data, name, rasterTransfo, interpMethod)[source]¶
Transfer data from old raster to new raster
Assign value to the points of the new raster (after domain transormation)
- Parameters
data (dict) – raster dictionary to transform
name (str) – name of data to transform
rasterTransfo (dict) – transformation information
interpMethod (str) – interpolation method to chose between ‘nearest’ and ‘bilinear’
- Returns
newData – new_data = z, pressure or thickness… corresponding to fname on the new raster
- Return type
2D numpy array