Solved

how supress double calculation for analysis?

  • 14 May 2024
  • 1 reply
  • 22 views

@David Nguyen  
below video with problem. in each window calculation maded 2 times. How this can reduce it to 1?

https://youtu.be/1cIMvsqjmDs

TheSystemData.Wavelengths.GetWavelength(2).Wavelength = wave_um

geometric_bitmap_analysis = TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.GeometricBitmapImageAnalysis)
geometric_bitmap_settings = geometric_bitmap_analysis.GetSettings()

geometric_bitmap_settings.ModifySettings(geometric_bitmap_settings_filepath, "GBM_OUTPUT", file_name)
geometric_bitmap_settings.LoadFrom(geometric_bitmap_settings_filepath)

geometric_bitmap_analysis.ApplyAndWaitForCompletion()
icon

Best answer by David.Nguyen 14 May 2024, 12:02

View original

1 reply

Userlevel 7
Badge +2

Ahhh, I understand what you mean now. Can you try with New_Analysis_SettingsFirst instead of New_Analysis?

Take care,

 

David

Reply