Getting started
This page explains how the course is laid out and how its pages show math and figures. Read it before Lab 01: Starter script.
Course layout
The course path on the home page lists all the pages in the order you should work through them. Each row is one of two kinds:
- A Read row points to guide pages like this one, which explain the ideas with figures and worked examples. You don’t need a terminal open to read them.
- A Do row points to a lab writeup, and the labs are where you run things.
The files a lab runs (code, data, and any scripts that check your results) are in the course’s GitHub repo under labs/, and this site has only the writeups. You’ll run your first script, labs/lab-01/src/main.py, in Lab 01, Part 2.
Lab structure
Each lab is split into numbered parts with numbered steps. Most parts open with the question they answer, and the steps then work out the answer. Each part has a “You should see” check, which tells you whether what you did worked. In at least one part you make something yourself, such as editing a file, writing a test, or working out a number before a script or tool prints it.
Some steps ask you to write down what you expect before you run something, so that you have a prediction of your own to compare the result with.
When a step asks a question, its answer is in a collapsed block right under it. Try to answer the question yourself first, and then click “Answer” to open the block. (In the PDF version of a page, the answers are collected at the end of the page instead, and a short note marks where each one was.) The questions in Check yourself at the end of this page work the same way.
A part marked “(optional)” comes after all the required parts. No later part needs it, so you can skip it, and the lab’s time estimate doesn’t include it.
Every lab ends with a Finishing section. It tells you how you’ll know you’re done, asks any questions that you can answer from your own work, and says what to submit, if anything. The last line of each lab points to the next row on the course path.
Math and figures
Math on these pages is typeset with MathJax on the website and by Typst in the PDFs. Inline math sits inside the sentence, like \(y[n] = x[n] * h[n]\) for discrete convolution, and display math gets a line of its own:
\[ y[n] = x[n] * h[n] = \sum_{k=-\infty}^{\infty} x[k]\, h[n-k] \]
Figures look like this:
Check yourself
Which kind of course path row has you run commands?
TipAnswerA Do row, which points to a lab writeup. The labs are where you run things.
Where are the files that a lab runs?
TipAnswerThey’re in the course’s GitHub repo, under
labs/. This site has only the writeups.
