edmundsj / rcwa

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

Automatically specify polarization when computing reflection coefficients #1

Closed edmundsj closed 3 years ago

edmundsj commented 3 years ago

When computing rTE / rTM for ellipsometry calculations, you must ensure there is some TM component to your incident wave, otherwise you will just get NaN values for rTM. This will show up on the plot as not having a TM component. This seems unnecessary, as the user shouldn't have to specify a polarization if all they want is the TE and TM reflection coefficients.

edmundsj commented 3 years ago

This was fixed awhile ago (not sure when). The plots are now just straight lines.