Home | Trees | Indices | Help |
|
---|
|
Ghost class. This class represents surfaces which don't interact with the beams. They just transmit the same beam, and may be useful to monitor the beams on their way, without having to calculate the Q yourself if you're looking for the Q at another place than the origin of the beam. Ghost surfaces basically have a null thickness and transmit the beams. *=== Attributes ===* SetupCount (inherited): class attribute, counts all setup components. [integer] Name: class attribute. [string] HRCenter (inherited): center of the principal face of the Ghost in space. [3D vector] ARCenter (inherited): center of the secondary face of the Ghost 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 |
|
Ghost initializer. Parameters are the attributes. Returns a Ghost.
|
Return the list of lines needed to print the object.
|
Determine if a beam hits the Ghost surface. This uses the linePlaneInter function from the geometry module to find characteristics of impact of beams on ghost surfaces. 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]
|
Return the beam simply transmitted by the ghost surface. 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': Gaussian beam which is the continuity of the incident beam.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 24 10:17:20 2017 | http://epydoc.sourceforge.net |