Skip to main content

ZOS-API interface 2024 R2 SP02

ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap Interface Reference

Last update: 17.07.2025
Inheritance diagram for ZOSAPI.Analysis.Settings.Mtf.IAS_ContrastLossMap:

Properties

IAS_Field Field [get]
 
IAS_Wavelength Wavelength [get]
 
SampleSizes_ContrastLoss SampleSize [get, set]
 
double Frequency [get, set]
 
bool Normalize [get, set]
 
bool ShowOPD [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from ZOSAPI.Analysis.Settings.IAS_
IMessages Verify ()
 
void Save ()
 Saves the current settings to the default CFG file.
 
void Load ()
 Loads settings from the default CFG file.
 
void Reset ()
 Resets the settings back to the defaults for the current analysis.
 
bool SaveTo (string settingsFile)
 Saves the current settings to the specified file.
 
bool LoadFrom (string settingsFile)
 Replaces the current settings with settings read from the specified file.
 
bool ModifySettings (string settingsFile, string typeCode, string newValue)
 Changes a single setting in the specified file. See the MODIFYSETTINGS DDE command help documentation for more information.
 

Detailed Description

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;
Definition: IAS_FftMtf.cs:29
SampleSizes
Definition: I_SampleSizes.cs:13

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;
Definition: IAS_FieldCurvatureAndDistortion.cs:5
The ZOSAPI namespace contains classes for initially connecting to zemax. See also ZOSAPI_Connection,...
Definition: IAS_FieldCurvatureAndDistortion.cs:5

Python

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

Property Documentation

◆ Field

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

◆ Frequency

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

◆ Normalize

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

◆ SampleSize

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

◆ ShowOPD

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

◆ Wavelength

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

Connect with Ansys