Home | Trees | Indices | Help |
|
---|
|
Simulation class. This class is a wrapper for all the metadata (names of setup and of files, etc.) as well as for the high level functions of a simulation. *=== Attributes ===* LName: name of the simulation [string] FName: name of the file for outputs (without extension) [string] OptList: list of optical components of the setup [list of optics] InBeams: list of input beams [list of beams] BeamTreeList: list of binary trees of beams [list of BeamTree] Order: order of the simulation, beams transmitted by HRs or reflected by ARs have their orders augmented by 1, and simulation calculates only until this Order attribute. [int] Threshold: Power under which beams are no longer traced. [float] Date: string of the date-time when the simulation was created (not run). [string]
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Simulation initializer. FName: output files name without extension. [string]
|
String representation of the simulation, for print(simulation).
|
Calculate the number of optics of OptList. Returns the number of optics (not components, optics). |
Initialize simulation attributes by input from .tia file. See documantation for the format of the input file. No return value. |
Run simulation with input as read by load. threshold: power of beam below which the simulation stops tracing child beams. [float] order: maximum order to keep daughter beams. [integer] No return value. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 24 10:17:20 2017 | http://epydoc.sourceforge.net |