| Home | Trees | Indices | Help |
|
|---|
|
|
Optic class.
This class is a base class for optics which may interact with Gaussian
beams and return transmitted and reflected beams (mirrors, lenses, etc.)
*=== Attributes ===*
SetupCount (inherited): class attribute, counts all setup components.
[integer]
OptCount: class attribute, counts optical components. [integer]
Name: class attribute. [string]
HRCenter (inherited): center of the 'chord' of the HR surface. [3D vector]
HRNorm (inherited): unitary normal to the 'chord' of the HR (always pointing
towards the outside of the component). [3D vector]
Thick (inherited): thickness of the optic, counted in opposite direction to
HRNorm. [float]
Dia (inherited): diameter of the component. [float]
Ref (inherited): reference string (for keeping track with the lab). [string]
ARCenter: center of the 'chord' of the AR surface. [3D vector]
ARNorm: unitary normal to the 'chord' of the AR (always pointing
towards the outside of the component). [3D vector]
N: refraction index of the material. [float]
HRK, ARK: curvature of the HR, AR surfaces. [float]
HRr, HRt, ARr, ARt: power reflectance and transmission coefficients of
the HR and AR surfaces. [float]
KeepI: whether of not to keep data of rays for interference calculations
on the HR. [boolean]
**Note**: the curvature of any surface is positive for a concave surface
(coating inside the sphere).
Thus kurv*HRNorm/|kurv| always points to the center
of the sphere of the surface, as is the convention for the lineSurfInter of
geometry module. Same for AR.
******* HRK > 0 and ARK > 0 ******* HRK > 0 and ARK < 0
***** ******** and |ARK| > |HRK|
H***A H*********A
***** ********
******* *******
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Name =
|
|||
OptCount = 0
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Optic base initializer. Parameters are the attributes of the object to construct. Returns an Optic.
|
Determine whether the HR and AR surfaces intersect. Returns True if there is an intersection, False if not. |
Compute the daughter beams after interaction on Side at point. Generic function: all sides stop beams. beam: incident beam. [GaussianBeam] Returns {'t': None, 'r': None} |
Move the optic to (current position + (X, Y, Z)). This version takes care of HRcenter and ARCenter and overwrites the SetupComponent version. X, Y, Z: components of the translation vector. No return value.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jul 24 12:23:09 2017 | http://epydoc.sourceforge.net |