parameters: (coefficients, n_intervals, n_channels, p)
return_statement: return f
docstring: :param coefficients: 
      :param n_intervals: 
      :param n_channels: 
      :param p: 
      :return:
docstring_summary: :param coefficients: 
      :param n_intervals: 
      :param n_channels: 
      :param p: 
      :return:
docstring_tokens: : param coefficients : : param n_intervals : : param n_channels : : param p : : return :
function: def spline_values_3d_multichannel(coefficients, n_intervals, n_channels, p):
      """
      
      :param coefficients: 
      :param n_intervals: 
      :param n_channels: 
      :param p: 
      :return: 
      """
      coefficients = np.reshape(coefficients, (64, n_intervals[0], n_intervals[1], n_intervals[2], n_channels))
      x = np.arange(n_intervals[0])-p[1]
      y = np.arange(n_intervals[1])-p[2]
      z = -p[3]
      f = p[0] * gs.spline_values(coefficients, x, y, z) + p[4]
      
      return f
function_tokens: def spline_values_3d_multichannel ( coefficients , n_intervals , n_channels , p ) : coefficients = np . reshape ( coefficients , ( 64 , n_intervals [ 0 ] , n_intervals [ 1 ] , n_intervals [ 2 ] , n_channels ) ) x = np . arange ( n_intervals [ 0 ] ) - p [ 1 ] y = np . arange ( n_intervals [ 1 ] ) - p [ 2 ] z = - p [ 3 ] f = p [ 0 ] * gs . spline_values ( coefficients , x , y , z ) + p [ 4 ] return f