RCW Module¶
- class pySCATMECH.rcw.RCW_Model(*args, **kwargs)¶
Class handling rigorous coupled wave (RCW) analysis for 1D gratings.
- DiffractionAmplitude(i)¶
Returns the Jones matrix diffraction amplitude for the i-th diffraction order.
- Parameters:
i (int) – Diffraction order
- Returns:
amplitude – The Jones matrix diffraction amplitude for order i
- Return type:
JonesMatrix
- DiffractionEfficiency(i)¶
Returns the Mueller matrix diffraction efficiency for the i-th diffraction order.
- Parameters:
i (int) – Diffraction order
- Returns:
efficiency – The Mueller matrix diffraction efficiency for order i
- Return type:
- Direction(i)¶
Returns a 3D unit vector [x,y,z] in the direction of propagation of the i-th diffraction order :param i: Diffraction order :type i: int
- Returns:
direction – Directional cosines of diffracted order
- Return type:
list of float
- getEpsilon(x, z, direction='x')¶
Returns the grating dielectric constant at a specific location
- Parameters:
x (float) – Location coordinates
z (float) – Location coordinates
direction (str, optional) – If the grating is anisotropic, then direction can be set to choose a particular field direction. Can be ‘x’, ‘y’, or ‘z’. (Default is ‘x’).
- Returns:
epsilon – The dielectric constant evuated at the current wavelength and grating.
- Return type:
complex