zospy.analyses.mtf.fft_mtf.FFTMTF

zospy.analyses.mtf.fft_mtf.FFTMTF#

class zospy.analyses.mtf.fft_mtf.FFTMTF#

Bases: BaseAnalysisWrapper[DataFrame | None, FFTMTFSettings]

FFT Modulation Transfer Function (MTF) analysis.

Attributes:
MODE
analysis

The OpticStudio analysis object.

config_file

Path to the temporary configuration file.

oss

The OpticStudio system.

settings

Settings of the analysis.

text_output_file

Path to the temporary text output file.

Methods

__call__(oss, *args, **kwargs)

Run the analysis and return the results.

get_data_grid([cell_origin])

Get the data grids from the analysis result.

get_data_series()

Get the data series from the analysis result.

get_text_output()

Get the text output of the analysis.

parse_output(grammar, transformer, result_type)

Parse the text output of the analysis.

run(oss[, config_file, text_output_file, ...])

Run the analysis and return the results.

run_analysis()

Run the FFT MTF analysis.

update_settings(*[, settings, settings_kws])

Update the settings of the analysis using a settings object or keyword arguments.

with_settings(settings)

Create a new analysis with the specified settings.

__init__(*, sampling: str | int = '32x32', surface: Literal['Image'] | int = 'Image', wavelength: int | Literal['All'] = 'All', field: int | Literal['All'] = 'All', mtf_type: str | constants.Analysis.Settings.Mtf.MtfTypes = 'Modulation', maximum_frequency: float = 0.0, use_polarization: bool = False, use_dashes: bool = False, show_diffraction_limit: bool = False)#

Create a new FFT MTF analysis.

See also

FFTMTFSettings

Settings for the FFT MTF analysis.

run_analysis() DataFrame | None#

Run the FFT MTF analysis.