zospy.analyses.mtf.fft_through_focus_mtf.FFTThroughFocusMTFSettings

zospy.analyses.mtf.fft_through_focus_mtf.FFTThroughFocusMTFSettings#

class zospy.analyses.mtf.fft_through_focus_mtf.FFTThroughFocusMTFSettings#

Bases: object

Settings for the FFT Through Focus MTF analysis.

For an in depth explanation of the parameters, see the OpticStudio user manual.

Attributes:
samplingstr | int

The pupil sampling, either string (e.g. “64x64”) or int. Integers will be treated as a ZOSAPI Constants integer and must be greater than or equal to 0. Defaults to “64x64”.

delta_focusfloat

The Z-axis range or optical power range, depending on the optical system. Defaults to 0.1.

frequencyfloat

The spatial frequency for which the MTF is calculated. Defaults to 0.

number_of_stepsint

The number of steps in the focus range. Defaults to 5.

wavelengthint | str

The wavelength to use in the MTF. Either ‘All’ or an integer specifying the wavelength number.

fieldstr | int

The field to use in the MTF. Either ‘All’ or an integer specifying the field number.

mtf_typezospy.constants.Analysis.Settings.Mtf.MtfTypes.Modulation

The MTF type (e.g. Modulation) that is calculated.

use_polarizationbool

Use polarization. Defaults to False.

use_dashesbool

Use dashes. Defaults to False.

__init__(*args: Any, **kwargs: Any) None#