edmundsj / rcwa

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

1D grating reciprocal lattice normalization #64

Open canthorse opened 8 months ago

canthorse commented 8 months ago

When I test the 1D grating diffraction, the results seem mismatch. In the harmonics.py, the function _k_matrix_1D to calculate the T1, if it needs normalization divide by k_0 like the _k_matrix_2D.

quant commented 7 months ago

Perhaps #55 fixes this