From 0b7dc2beee910a2f0b54a163c56e978d28e0af45 Mon Sep 17 00:00:00 2001 From: Edoardo Balzani Date: Thu, 12 Dec 2024 10:37:43 -0500 Subject: [PATCH] Update docs/background/basis/plot_01_1D_basis_function.md Co-authored-by: William F. Broderick --- docs/background/basis/plot_01_1D_basis_function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/background/basis/plot_01_1D_basis_function.md b/docs/background/basis/plot_01_1D_basis_function.md index efa13d93..6e23ba70 100644 --- a/docs/background/basis/plot_01_1D_basis_function.md +++ b/docs/background/basis/plot_01_1D_basis_function.md @@ -162,7 +162,7 @@ For Conv bases, `compute_features` convolves each input with `n_basis_funcs` ker basis = nmo.basis.RaisedCosineLinearConv(n_basis_funcs=5, window_size=6) # compute_features to perform the convolution and concatenate out = basis.compute_features(inp) -print(f"`compute_features` output shape {out.shape}") +out.shape ``` This process is equivalent to performing the convolution separately with [`create_convolutional_predictor`](nemos.convolve.create_convolutional_predictor) and then reshaping the output.