SPR XPhase
Computes ratio of p-polarized reflectance to s-polarized reflectance (Rp/Rs) for surface plasmon resonance experiments. Uses multilayer matrix transfer method for a system of thin films. Works for any number of layers over any angle and frequency range. Includes data for some common substrates and conductors.
Default behaviour is so-called "fourier-transform" SPR, which outputs an entire frequency-intensity spectrum at each angle, but can easily be changed to "laser" SPR which scans over angles at a fixed frequency.
To use, open input_xphase.m in Matlab and follow the instructions inside. Once it runs, your reflectance data Rp/Rs is stored in variable R_mat, which you can plot in your favorite plotting program.
Cite As
Joshua Guske (2024). SPR XPhase (https://www.mathworks.com/matlabcentral/fileexchange/41090-spr-xphase), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Semiconductors and Converters >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.