sarkit.crsd.interpolate_support_array
- interpolate_support_array(x, y, x_0, y_0, x_ss, y_ss, sa, dv_sa=None)
Method for computing values from a support array as in 9.3.2
The method in 9.3.2 is specified for a support array containing two parameters. This function only handles a single parameter.
Due to its reuse in 7.5.3, some variables have been renamed/generalized:
dcx, dcx -> x, y
{Gsa, PhiSA} -> sa
{NumRows, NumCols} -> sa.shape
{G, Phi} -> values
- Parameters:
- x, yarray_like
Row and column values in support array coordinates at which to interpolate. Must have the same shape.
- x_0, y_0
float Row and column 0 coordinate
- x_ss, y_ss
float Row and column coordinate sample spacing
- saarray_like
2-D support array to interpolate
- dv_saarray_like or
None, optional Data valid array of the same shape as the support array. If
None, the entire support array is treated as valid.
- Returns: