Function sourceInterpolation

Function Documentation

std::vector<Source> sourceInterpolation(const std::vector<Source> &sources, int interpolation_size)

Performs interpolation on the provided sources to create smoother data.

Parameters:
  • sources – A constant reference to the input source data.

  • interpolation_size – Number of intermediate points to generate.

Returns:

A vector containing interpolated Source objects.