interpolate_pixel_rates¶ nyx.instrument.interpolation.interpolate_pixel_rates(grid, values, coords)[source]¶ Bilinear interpolation of the FOV evaluation grid at pixel centres. Parameters: values (jax.Array, shape (n_lon, n_lat)) coords (jax.Array, shape (n_pixels, 2)) – [lon, lat] in radians. grid (jax.Array, shape (n,)) – Node coordinates, shared by both axes. Returns: Zero outside the grid. Return type: jax.Array, shape (n_pixels,)