MCPcopy
hub / github.com/ContextLab/hypertools / interp_array_list

Function interp_array_list

hypertools/_shared/helpers.py:82–86  ·  view source on GitHub ↗
(arr_list,interp_val=10)

Source from the content-addressed store, hash-verified

80
81
82def interp_array_list(arr_list,interp_val=10):
83 smoothed= [np.zeros(arr_list[0].shape) for item in arr_list]
84 for idx,arr in enumerate(arr_list):
85 smoothed[idx] = interp_array(arr,interp_val)
86 return smoothed
87
88
89def parse_args(x,args):

Callers 1

plotFunction · 0.85

Calls 1

interp_arrayFunction · 0.85

Tested by

no test coverage detected