pyrtid.inverse.get_values_matching_node_indices#
- pyrtid.inverse.get_values_matching_node_indices(node_indices: ndarray[Any, dtype[int64]], input_values: ndarray[Any, dtype[float64]]) ndarray[Any, dtype[float64]][source]#
Return the values for the given node_indices with shape.
The output shape is (\(\lvert \mathrm{node_indices} \rvert|, [nt]), where :math:\)lvert . rvert` means cardinality.
- Parameters
node_indices (NDArrayInt) – Indices in the grid from 0 to nx * ny -1.
input_values (NDArrayFloat) – Array of input values with shape (nx, ny, nt) or (nx, ny).
- Returns
Simulated values at the observation location
- Return type
NDArrayFloat