NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Self-Contained Jupyter Notebook Labs Promote Scalable Signal Processing Education

Dominic Carrano, Ilya Chugunov, Jonathan Lee, Babak Ayazifar2020

Abstract

Our upper-division course in Signals and Systems at UC Berkeley comprises primarily sophomore and junior undergraduates, and assumes only a basic background in Electrical Engineering and Computer Science. We’ve introduced Jupyter Notebook Python labs to complement the theoretical material covered in more traditional lectures and homeworks. Courses at other institutions have created labs with a similar goal in mind. However, many have a hardware component or involve in-person lab sections that require teaching staff to monitor progress. This presents a significant barrier for deployment in larger courses. Virtual labs—in particular, pure software assignments using the Jupyter Notebook framework—recently emerged as a solution to this problem. Some courses use programming-only labs that lack the modularity and rich user interface of Jupyter Notebook’s cell-based design. Other labs based on the Jupyter Notebook have not yet tapped the full potential of its versatile features. Our labs (1) demonstrate real-life applications; (2) cultivate computational literacy; and (3) are structured to be self-contained. These design principles reduce overhead for teaching staff and give students relevant experience for research and industry.

Introduction

Traditional signal processing education often oscillates between abstract mathematical theory and logistically complex hardware-based labs. While hardware labs provide valuable hands-on experience, they create significant scaling bottlenecks due to the need for specialized equipment and high levels of staff supervision. To address this, researchers at UC Berkeley developed a suite of self-contained Jupyter Notebook labs. These labs leverage modern Python libraries to bridge the gap between theory and practice, enabling students to tackle real-world engineering challenges—such as deblurring deep-space imagery—in a scalable, asynchronous environment.

The Challenge of Scalability

Teaching "Signals and Systems" to large undergraduate cohorts presents a unique set of challenges. Purely theoretical approaches can leave students disconnected from practical applications, while traditional labs often require intense "hand-holding" from teaching assistants. Existing virtual alternatives frequently fall short: some are simple programming exercises without a cohesive interface, while others fail to introduce students to the professional-grade scientific computing libraries (e.g., NumPy, SciPy) essential for modern research and industry. The goal of this work was to create a "middle way" that is pedagogically rigorous yet operationally autonomous.

Methodology: Design Principles for Autonomy

The curriculum consists of virtual labs built on the Jupyter Notebook framework, guided by three core principles:

  1. Real-World Applications: Labs are centered on concrete problems, such as echo cancellation or heart rate monitoring.
  2. Computational Literacy: Students implement algorithms using standard libraries, emphasizing "vectorized" thinking to optimize performance.
  3. Self-Containment: Labs include embedded documentation, clear specifications, and self-test cases to allow for asynchronous completion.

A key pedagogical innovation is the use of the "purposeful error." Students are instructed to intentionally apply incorrect parameters—such as an unsuitable Gaussian filter—to observe resulting artifacts. This helps develop the debugging intuition required for real-world engineering.

Demonstration of image blurring and filtering techniques used in the labs.

Real-World Data and Applications

The labs utilize diverse datasets to ground theoretical concepts, ranging from audio recordings to astronomical data. Key examples include:

  • Audio: Corrupted files used for echo cancellation exercises.
  • Space Imagery: Hubble Space Telescope images used for deconvolution and deblurring.
  • Finance: Stock price data used to teach moving averages and denoising.
  • Biometrics: Video data of a patient’s thumb used to extract heart rate frequencies via Fast Fourier Transforms (FFT).

Results and Impact

The labs were deployed in Spring 2020 at UC Berkeley with high success. Student feedback indicated that the self-contained design effectively supported autonomous learning, with 76.5% to 88% of students agreeing that the materials provided all necessary information. Furthermore, over 80% of students found the labs engaging and clearly linked to lecture concepts.

Deblurring of Hubble Space Telescope imagery using student-implemented algorithms.

Students were able to achieve sophisticated results, such as the deblurring of deep-space imagery shown above, by building their own signal processing pipelines from fundamental components like quantization and subtractive sharpening. This modular approach ensures that even if a student struggles with one specific task, they can continue to progress through other sections of the lab.

Conclusion and Future Work

By decoupling student progress from staff availability, these labs allow signal processing courses to scale without a linear increase in teaching resources. Future efforts will focus on expanding the curriculum, integrating automated grading tools like nbgrader, and open-sourcing the materials for broader institutional adoption.

Summary updated

Abstract

Our upper-division course in Signals and Systems at UC Berkeley comprises primarily sophomore and junior undergraduates, and assumes only a basic background in Electrical Engineering and Computer Science. We’ve introduced Jupyter Notebook Python labs to complement the theoretical material covered in more traditional lectures and homeworks. Courses at other institutions have created labs with a similar goal in mind. However, many have a hardware component or involve in-person lab sections that require teaching staff to monitor progress. This presents a significant barrier for deployment in larger courses. Virtual labs—in particular, pure software assignments using the Jupyter Notebook framework—recently emerged as a solution to this problem. Some courses use programming-only labs that lack the modularity and rich user interface of Jupyter Notebook’s cell-based design. Other labs based on the Jupyter Notebook have not yet tapped the full potential of its versatile features. Our labs (1) demonstrate real-life applications; (2) cultivate computational literacy; and (3) are structured to be self-contained. These design principles reduce overhead for teaching staff and give students relevant experience for research and industry.
BibTeX
@misc{carrano2020self,
  author = {Dominic Carrano and Ilya Chugunov and Jonathan Lee and Babak Ayazifar},
  title = {{Self-Contained Jupyter Notebook Labs Promote Scalable Signal Processing Education}},
  year = {2020},
  doi = {10.4995/head20.2020.11308},
}
Figure