shareloc.geofunctions.rectification_grid

This module contains the rectification_grids class to handle CARS rectification grids.

Classes

RectificationGrid

Rectification grid

Module Contents

class shareloc.geofunctions.rectification_grid.RectificationGrid(grid_filename)[source]

Rectification grid

grid_filename[source]
dataset[source]
transform[source]
step_col[source]
step_row[source]
last_col[source]
last_row[source]
row_dep[source]
col_dep[source]
cols[source]
rows[source]
points[source]
row_positions[source]
col_positions[source]
get_positions()[source]

return grid positions

:return grid positions :rtype numpy array, numpy array

interpolate(positions)[source]

interpolate position

:param positions : positions to interpolate : array Nx2 [col,row] :type positions: np.array :return interpolated positions : array Nx2 [col,row] :rtype np.array