concat¶
- behavenet.plotting.concat(ims, axis=1)[source]¶
Concatenate two channels along x or y direction (useful for data with multiple views).
- Parameters:
ims (
np.ndarray) – shape (2, y_pix, x_pix)axis (
int) – axis along which to concatenate; 0 = y dir, 1 = x dir
- Returns:
shape (2 * y_pix, x_pix) (if
axis=0) or shape (y_pix, 2 * x_pix) (ifaxis=1)- Return type:
np.ndarray