victorliu / S4

Stanford Stratified Structure Solver - Electromagnetic simulator for layered periodic structures
http://www.stanford.edu/group/fan/S4/
GNU General Public License v2.0
128 stars 149 forks source link

Angle orientation #115

Open michelgaglioni opened 4 months ago

michelgaglioni commented 4 months ago

Hi everyone,

Does anyone now precisely what's the orientation of the angles in S4? The information in the documentation is somehow incomplete, and since I'm working on assymetric structures I need to make sure about that. Where does the polar and azimutal angles start and end? What does it mean, for instance, 90 < phi < 180 considering the azimutal angle equals to zero? Does the incident vector lie in the positive or negative x coordinate? and what about the plane? It would be very helpful if someone could draw a scheme of that.

Thanks!