Robochameleon
v1.0
|
Non-polarizing beam splitter. More...
Inherits unit.
Public Member Functions | |
function | BS_1xN_v1 (in param) |
Constructor. More... | |
function | traverse (in obj, in in) |
Split the input signal in multiple outputs by rescaling the power. More... | |
![]() | |
function | traverseNode (in obj) |
Set unique ID when creating a unit. More... | |
function | connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput) |
Specify where signal should go next. More... | |
function | connectOutputs (in obj, in units, in destInputs) |
Specify where signal should go next. More... | |
function | writeInputBuffer (in obj, in sig, in inputId) |
write input buffer | |
function | horzcat (in varargin) |
horizontal concatenation | |
function | vertcat (in varargin) |
vertical concatenation | |
function | setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS) |
set parameters More... | |
function | view (in obj) |
Show interactive GUI through unit_view-class. | |
Public Attributes | |
Property | nInputs |
Property | nOutputs |
![]() | |
Property | inputBuffer |
Buffer for storing inputs as we traverse the graph. | |
Property | nextNodes |
Children nodes. | |
Property | destInputs |
Destination inputs in children. | |
Property | results |
For storing results. | |
Property | label |
Property | draw |
enable/disable plotting | |
Property | nInputs |
Number of signals traverse expects. | |
Property | nOutputs |
Number of outputs traverse expects. | |
Non-polarizing beam splitter.
This block takes a single input and splits it into an arbitrary number of outputs (N). Multimode is supported. Power will be equally split among the outputs.
Example:
Definition at line 30 of file BS_1xN_v1.m.
function BS_1xN_v1::BS_1xN_v1 | ( | in | param | ) |
Constructor.
param.nOutputs | Number of outputs |
|
virtual |
Split the input signal in multiple outputs by rescaling the power.
in | Input signal |
Reimplemented from unit.