ana3AIMEC.aimecTools.makeTransfoMat¶
- makeTransfoMat(rasterTransfo)[source]¶
Make transformation matrix.
Takes a Domain Boundary and finds the (x,y) coordinates of the new raster point (the one following the path)
- Parameters
rasterTransfo (dict) –
- dictionary containing:
domainWidth: float cellSize: float DBXl: 1D numpy array
x coord of the left boundary
- DBXr: 1D numpy array
x coord of the right boundary
- DBYl: 1D numpy array
y coord of the left boundary
- DBYr: 1D numpy array
y coord of the right boundary
- Returns
rasterTransfo –
- rasterTransfo dictionary updated with
- gridx: 2D numpy array
x coord of the new raster points in old coord system
- gridy: 2D numpy array
y coord of the new raster points in old coord system
- l: 1D numpy array
new coord system in the cross direction
- Return type
dict