Home | Trees | Indices | Help |
|
---|
|
BeamDump class. This class represents components on which rays stop. They have cylindrical symmetry and stop beams on all their faces. They can represent baffles for example. *=== Attributes ===* SetupCount (inherited): class attribute, counts all setup components. [integer] Name: class attribute. [string] HRCenter (inherited): center of the principal face of the BeamDump in space. [3D vector] ARCenter (inherited): center of the secondary face of the BeamDump in space. [3D vector] HRnorm (inherited): normal unitary vector the this principal face, supposed to point outside the media. [3D vector] Thick (inherited): thickness of the dump, 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]
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Name =
|
|||
__abstractmethods__ =
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
BeamDump initializer. Parameters are the attributes. Returns a BeamDump.
|
Return the list of lines needed to print the object.
|
Determine if a beam hits the BeamDump. This uses the line***Inter functions from the geometry module to find characteristics of impact of beams on beamdumps. beam: incoming beam. [GaussianBeam] Returns a dictionary with keys: 'isHit': whether the beam hits the dump. [boolean] 'intersection point': point in space where it is first hit. [3D vector] 'face': to indicate which face is first hit, can be 'HR', 'AR' or 'side'. [string] 'distance': geometrical distance from beam origin to impact. [float]
|
Compute the refracted and reflected beams after interaction. BeamDumps always stop beams. beam: incident beam. [GaussianBeam] order: maximum strayness of daughter beams, which are not returned if their strayness is over this order. [integer] threshold: idem for the power of the daughter beams. [float] Returns a dictionary of beams with keys: 't': None 'r': None
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 24 10:17:20 2017 | http://epydoc.sourceforge.net |