Skip to content

Commit ed3b07a

Browse files
authored
Merge branch 'dev' into language
2 parents 2d6d82a + a7090d2 commit ed3b07a

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/lint_nb.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Linting Notebooks with Black
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- dev # Change this to your repository's main branch
78
pull_request:
89
branches:
9-
- dev
10+
- dev
1011
jobs:
1112
lint:
1213
runs-on: ubuntu-latest
@@ -43,4 +44,4 @@ jobs:
4344
exit 1
4445
else
4546
echo "All notebooks are properly formatted."
46-
fi
47+
fi

.github/workflows/run_nb.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Run Notebooks
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- dev # Change this to your repository's main branch
@@ -32,7 +33,7 @@ jobs:
3233

3334
- name: Install dependencies
3435
run: pip install jupyter nbconvert
35-
- run: pip install -r requirements.txt
36+
- run: pip install -r requirements.txt
3637

3738
- name: Find notebooks
3839
id: find-notebooks
@@ -57,4 +58,4 @@ jobs:
5758
else
5859
echo "No errors found in notebooks."
5960
fi
60-
shell: bash
61+
shell: bash

filter_design/fir_filter.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@
762762
"outputs": [],
763763
"source": [
764764
"# 7 coeff, beta such that DC gain about 5\n",
765-
"b = signal.kaiser(7, beta=2.15, sym=True)\n",
765+
"b = signal.windows.kaiser(7, beta=2.15, sym=True)\n",
766766
"bode_plot(b, fig=plt.figure(figsize=figsize))\n",
767767
"np.sum(b)"
768768
]
@@ -941,7 +941,7 @@
941941
"beta = -0.1102 * (StopBandMaxLevel + 8.7)\n",
942942
"# beta = 0 # beta = 0 is equal to the rectangular window!\n",
943943
"print(\"beta =\", beta)\n",
944-
"w = signal.kaiser(M + 1, beta, sym=True)"
944+
"w = signal.windows.kaiser(M + 1, beta, sym=True)"
945945
]
946946
},
947947
{
@@ -1045,7 +1045,7 @@
10451045
"name": "python",
10461046
"nbconvert_exporter": "python",
10471047
"pygments_lexer": "ipython3",
1048-
"version": "3.12.2"
1048+
"version": "3.13.2"
10491049
}
10501050
},
10511051
"nbformat": 4,

0 commit comments

Comments
 (0)