Skip to main content

Hi,

I’m trying to clear the vignetting and recalculate the vignetting by using the “Set Vignetting” and “Clear Vignetting” in the System explorer. I’m wondering if this accessible in zosapi?

Thanks, 

 

 

Additionally, 

I found that the fftMTF setting sample script doesn’t work.

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

 

the max frequency and the sample size remains the same.

 


@YuY 

 

I believe those two features are accessed in the ZOS-API with:

TheSystem.SystemData.Fields.SetVignetting()
TheSystem.SystemData.Fields.ClearVignetting()

Regarding the FFT MTF settings. I would advise to start a new topic if the question does not fall within the context of the initial topic. That being said, I believe the issue is related to this:

Can you try changing this line of code:

newWin_Settings = newWin.GetSettings()

With this new one:

newWin_Settings = newWin.GetSettings().__implementation__

Notice the __implementation__ at the end. It should fix the issue. Let us know otherwise.

Take care,

 

David


Reply