CAFF Github

See all of our code packages at

CAFF Teaching Materials

This repository includes teaching materials for high school and undergraduate teaching labs developed by the NSF Center for Adapting Flaws into Features. These labs largely focus on hands on spectroscopy-based activities that introduce students to topics relevant to physical chemistry and advanced data analysis techniques. A summary of current labs is included below. Relevant teaching materials and code for each lab are included in the lab folders.
Lab 1: Introduction to Spectroscopy and Data Science


The python script to compute the adsorbate induced contribution to line-width parameters, and surface plasmon width, for chemical interface damping according to the method described by Persson, B. N. J., Polarizability of small spherical metal particles: influence of the matrix environment. Surface Science 1993, 281, 153-162.

NKT Tools

This repository contains tools for accessing NKT photonics devices via python through the NKT SDK.
If you utilize the nkt_tools package for you research, we’d appreciate you referencing our Zenodo upload such that others might find our work: Briley Bourgeois, & Jennifer Dionne. (2023). Dionne-Lab/nkt_tools: 0.0.8 (0.0.8). Zenodo.


Catalight is a tool set developed by scientists at Stanford to help automate photocatalysis experiments. Catalight is capable of connecting to hardware, coordinating instruments to run a variety of different experimental procedures, and organizing and analyzing data collected by the system. The project is designed in a modular format to enable users to bring their own unique hardware while still utilizing the core features of experiment management and data handling. The program functions in both a scripted version and a GUI to aid users in planning experimental procedures and manually controlling hardware. To date, catalight is compatible with Alicat mass flow controllers, heater systems controlled by Watlow components, Measurement Computing data acquisition boards (used for communication with (ThorLabs laser diode drivers), NewPort 843-R power meter, and SRI gas chromatographs. Support for additional hardware is planned for the future, including FTIR data collection and analysis and NKT Photonics lasers.