pycvcam.ZernikeDistortion.n_zer#

property ZernikeDistortion.n_zer: int | None#

Get or set the order of the Zernike polynomials.

The given order must be in [0, 1, 2, 3, 4, …].

If the given order is less than the current order, the parameters are truncated. If the given order is greater than the current order, the parameters are extended with zeros.

None means no distortion is applied.

Returns:

The order of the Zernike polynomials.

Return type:

Optional[int]