mnoptical.topo.linear
¶
Module Contents¶
Classes¶
Functions¶
|
Return a fiber segment of length km with a compensating amp |
|
Helper function for building spans of |
|
|
|
Create an Amplifier object to add to a ROADM node |
Attributes¶
- mnoptical.topo.linear.m = 0.001¶
- mnoptical.topo.linear.Span(km, amp=None)¶
Return a fiber segment of length km with a compensating amp
- mnoptical.topo.linear.build_spans(net, r1, r2)¶
Helper function for building spans of fixed length of 50km and handling those that require different lengths
- mnoptical.topo.linear.build_link(net, r1, r2)¶
- mnoptical.topo.linear.add_amp(net, node_name=None, type=None, gain_dB=None)¶
Create an Amplifier object to add to a ROADM node :param node_name: string :param type: string (‘boost’ or ‘preamp’ :param gain_dB: int or float