A general 4x4 transfer matrix method implementation for optical waves in layered media in Julia.
julia>]
pkg> add TransferMatrix
Start using TransferMatrix.jl
using TransferMatrix
For more details, including a comprehensive tutorial, see the documentation website.