Ratio

SCPI Command :

LAYout<*>:NODE<*>:RATio
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(layout=Layout.Default, nodeIx=NodeIx.Default) float[source]
# LAYout<*>:NODE<*>:RATio
value: float = driver.layout.node.ratio.get(layout = repcap.Layout.Default, nodeIx = repcap.NodeIx.Default)

Sets the size ratio of the two children in the specified node.

Parameters:
  • layout – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Layout’)

  • nodeIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Node’)

Returns:

split_ratio: Size ratio of the children. 0.5 assigns 50% of the node size to each child. 0.3 assigns 30% to child 1% and 70% to child 2.

set(split_ratio: float, layout=Layout.Default, nodeIx=NodeIx.Default) None[source]
# LAYout<*>:NODE<*>:RATio
driver.layout.node.ratio.set(split_ratio = 1.0, layout = repcap.Layout.Default, nodeIx = repcap.NodeIx.Default)

Sets the size ratio of the two children in the specified node.

Parameters:
  • split_ratio – Size ratio of the children. 0.5 assigns 50% of the node size to each child. 0.3 assigns 30% to child 1% and 70% to child 2.

  • layout – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Layout’)

  • nodeIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Node’)