Skip to main content
Question

Unable to use the raydatabase and filter on NSC detectorviewer in ZOS API


mocquin
Ultraviolet

I don’t understand how I should set the Filter and RayDatabaseFile of the DetectorViewer in non-sequential mode.

SHould I use : 

DetectorView = zos.system.Analyses.New_DetectorViewer()

or :

DetectorView = zos.system.Analyses.New_Analysis(zos.ZOSAPI.Analysis.AnalysisIDM.DetectorViewer)

Then should I use :        

settings = DetectorView.GetSettings()

and/or ?

        settings = zos.ZOSAPI.Analysis.Settings.RayTracing.IAS_DetectorViewer(settings)

Then using : 

        settings.RayDatabaseFilename = db_file

        settings.Filter = "h9"

Those seems to make the analysis fail

       

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings