MajorYLocator

class pysmithchart.locators.MajorYLocator(axes, n, precision=None)[source]

Bases: MajorXLocator

Locator for the imaginary (reactance/Y) axis of a Smith chart.

This class generates evenly spaced, nicely rounded tick values for the imaginary axis of a Smith chart. It extends the MajorXLocator class and adapts it for handling reactance values.

Methods Summary

__call__()

Compute or return cached tick values for the imaginary axis.

invert(x)

Apply the inverse Möbius transformation to a value.

out_of_range(x)

Check if a value is outside the valid range for the imaginary axis.

transform(x)

Apply the Möbius transformation to a value on the imaginary axis.

Methods Documentation

__call__()[source]

Compute or return cached tick values for the imaginary axis.

invert(x)[source]

Apply the inverse Möbius transformation to a value.

out_of_range(x)[source]

Check if a value is outside the valid range for the imaginary axis.

transform(x)[source]

Apply the Möbius transformation to a value on the imaginary axis.