Yfactor

SCPI Command :

MTESt:SEGMent:RESCale:YFACtor
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(mask_test: str, mask_segment: int) float[source]
# MTESt:SEGMent:RESCale:YFACtor
value: float = driver.mtest.segment.rescale.yfactor.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 – String with the name of the mask test

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

Returns:

expans_fact_y: -100 to 100

set(mask_test: str, mask_segment: int, expans_fact_y: float) None[source]
# MTESt:SEGMent:RESCale:YFACtor
driver.mtest.segment.rescale.yfactor.set(mask_test = 'abc', mask_segment = 1, expans_fact_y = 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 – String with the name of the mask test

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

  • expans_fact_y – -100 to 100