Xfactor

SCPI Command :

MTESt:SEGMent:RESCale:XFACtor
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(mask_test: str, mask_segment: int) float[source]
# MTESt:SEGMent:RESCale:XFACtor
value: float = driver.mtest.segment.rescale.xfactor.get(mask_test = 'abc', mask_segment = 1)

Stretches or compresses the selected mask segment in horizontal (XFACtor) or vertical direction (YFACtor) . The x- or y-values of all points of the selected mask segment are multiplied with this factor. Factors >1 stretch the mask segment, while factors between 0 and 1 compress it. Negative values are possible and change the algebraic sign. Only takes effect after the method RsRtx.mtest.segment.rescale.recalculate.set() command.

Parameters:
  • mask_test – -100 to 100

  • mask_segment – String with the name of the mask test

set(mask_test: str, mask_segment: int, expans_fact_x: float) None[source]
# MTESt:SEGMent:RESCale:XFACtor
driver.mtest.segment.rescale.xfactor.set(mask_test = 'abc', mask_segment = 1, expans_fact_x = 1.0)

Stretches or compresses the selected mask segment in horizontal (XFACtor) or vertical direction (YFACtor) . The x- or y-values of all points of the selected mask segment are multiplied with this factor. Factors >1 stretch the mask segment, while factors between 0 and 1 compress it. Negative values are possible and change the algebraic sign. Only takes effect after the method RsRtx.mtest.segment.rescale.recalculate.set() command.

Parameters:
  • mask_test – -100 to 100

  • mask_segment – String with the name of the mask test

  • expans_fact_x – Number of the segment. Counting starts from 0.