For a while now I've been wanting to implement dispersive materials. The infrastructure is all there in the Materials class, I just have yet to write unit tests and integrate it into the solver code. This would allow adding individual layers to be set to different materials with a wavelength-dependent refractive index. For example, I might implement something like the below:
For a while now I've been wanting to implement dispersive materials. The infrastructure is all there in the Materials class, I just have yet to write unit tests and integrate it into the solver code. This would allow adding individual layers to be set to different materials with a wavelength-dependent refractive index. For example, I might implement something like the below:
Then you could plot reflection vs. wavelength.