Linearly interpolate the (x, y) input data to the new_x coordinates
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | in_x(:) | |||
| real(kind=dp), | intent(in) | :: | in_y(:) | |||
| real(kind=dp), | intent(in) | :: | new_x(:) |
pure function LT_get_spaced_data(in_x, in_y, new_x) result(out_yy) real(dp), intent(in) :: in_x(:), in_y(:), new_x(:) real(dp) :: out_yy(size(new_x)) integer :: ix do ix = 1, size(new_x) call LT_lin_interp_list(in_x, in_y, new_x(ix), out_yy(ix)) end do end function LT_get_spaced_data