scisalt.numpy.linspaceborders

scisalt.numpy.linspaceborders(array)[source]

Generate a new array with numbers interpolated between the numbers of the input array. Extrapolates elements to the left and right sides to get the exterior border as well.

Parameters:

array : numpy.ndarray

The original array.

Returns:

array : numpy.ndarray

The interpolated/extrapolated array.