Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Interface ZOSAPI::Analysis::Settings::Mtf::IAS_ContrastLossMap

Last update: 13.03.2026

Definition:

Usage (see Example 04 for a full sample)

C#

            // Settings
            IAS_FftMtf newWin_Settings = newWin.GetSettings() as IAS_FftMtf;
            newWin_Settings.MaximumFrequency = 50;
            newWin_Settings.SampleSize = SampleSizes.S_256x256;

C++

    // Settings
    IAS_FftMtfPtr newWin_Settings = newWin->GetSettings();
    newWin_Settings->MaximumFrequency = 50;
    newWin_Settings->SampleSize = SampleSizes_S_256x256;

Matlab

    % Settings
    newWin_Settings = newWin.GetSettings();
    newWin_Settings.MaximumFrequency = 50;
    newWin_Settings.SampleSize = ZOSAPI.Analysis.SampleSizes.S_256x256;

Python

    # Settings
    newWin_Settings = newWin.GetSettings()
    newWin_Settings.MaximumFrequency = 50
    newWin_Settings.SampleSize = ZOSAPI.Analysis.SampleSizes.S_256x256

Inherits from:

Members

Properties

Property Field

Definition:

IAS_Field ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.Field

Return type: IAS_Field

Property Wavelength

Definition:

IAS_Wavelength ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.Wavelength

Return type: IAS_Wavelength

Property SampleSize

Definition:

SampleSizes_ContrastLoss ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.SampleSize

Return type: SampleSizes_ContrastLoss

Property Frequency

Definition:

double ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.Frequency

Return type: double

Property Normalize

Definition:

bool ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.Normalize

Return type: bool

Property ShowOPD

Definition:

bool ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap.ShowOPD

Return type: bool

Connect with Ansys