edmundsj / rcwa

Rigorous Coupled Wave Analysis for the calculation of Photonic Crystal R/T spectra
MIT License
93 stars 29 forks source link

Implement film thickness and dispersion model fitting #14

Closed edmundsj closed 2 years ago

edmundsj commented 3 years ago

One application I have been trying to use this software for is film thickness measurement. Unfortunately, right now this requires that I manually pass in different values of the film thickness and re-solve each time, then try to optimize that for the best fit.

If this were added into the software as an Fit() method to fit some arbitrary set of parameters to a known reflection spectra or spectroscopic ellipsometry spectra, that would be great and would be immensely useful to me. My understanding is that this can be done with python's autograd, I'm just not sure how to integrate it. I'll give it a whack this weekend and see if I figure it out.

edmundsj commented 2 years ago

After thinking about it more, I think this is probably out-of-scope of this package and not going to be done anytime soon. Closing.