h5analysis.simplemath.grid_data

h5analysis.simplemath.grid_data(x_stream, y_stream, grid)

Grid 1d data

Parameters:
  • x_stream (array) – Specify the x data to act on

  • y_stream (array) – Specify the y data to act on

  • grid (list, len 3) – Specify start value, end value, and delta

Returns:

  • new_x (numpy array) – equally spaced x scale

  • new_y (numpy array) – y data interpolated on new scale