edmundsj / rcwa

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

Implement non-plane wave monochromatic Source objects #40

Open edmundsj opened 2 years ago

edmundsj commented 2 years ago

Any incident electromagnetic field profile can be decomposed into a sum of plane waves. Implementing a Source() object which does this behind the scenes could enable calculation of reflectance when the source is has an arbitrary pattern (such as a Gaussian beam).