ZOSAPI.Analysis.IA_ Interface Reference
Last update: 17.07.2025Base interface for all analysis windows. This interface can be accessed via the I_Analyses interface. More...
Public Member Functions | |
| IAS_ | GetSettings () |
| Gets the settings for the current analysis. | |
| IAR_ | GetResults () |
| Gets the result data (if available) for the current analysis. | |
| bool | IsRunning () |
| Determines whether this analysis is currently updating. | |
| IMessage | Apply () |
| Use the current settings values to re-run the analysis. | |
| IMessage | ApplyAndWaitForCompletion () |
| Re-runs the analysis with the current settings and waits for it to finish calculating. | |
| bool | Terminate () |
| Attempt to cancel the currently running the analysis. | |
| void | WaitForCompletion () |
| Waits for the current analysis to finish running (if applicable). | |
| void | Close () |
| Closes this analysis; note that it will be removed from the system permanently. | |
| void | Release () |
| Disconnect this object from the interface, freeing up any memory in use. Note that unlike Close, this method does not remove the analysis from the current system. | |
| void | ToFile (String Filename, bool showSettings=false, bool verify=false) |
Properties | |
| String | Title [get] |
| String | GetAnalysisName [get] |
| AnalysisIDM | AnalysisType [get] |
| IMessages | StatusMessages [get] |
| bool | HasAnalysisSpecificSettings [get] |
Gets a value indicating whether this instance has a fully-implemented settings interface available. If false, the analysis settings can only be changed via IAS_.ModifySettings. | |
Detailed Description
Base interface for all analysis windows. This interface can be accessed via the I_Analyses interface.
Usage (see Example 15 for a full sample)
C#
C++
Matlab
Python
- Examples
- CSharpStandalone_04_pull_data_from_FFTMTF.cs, CSharpStandalone_10_NSC_ZRD_filter_string.cs, CSharpStandalone_11_Basic_Seq.cs, CSharpStandalone_15_Seq_Optimization.cs, CSharpStandalone_17_NSC_BulkScatter.cs, CSharpStandalone_21_White_LED_Phosphor.cs, CSharpStandalone_22_seq_spot_diagram.cs, CSharpStandalone_23_ray_fan_native_manual_comparison.cs, CSharpStandalone_24_nsc_detectors.cs, and CSharpStandalone_25_source_spectrum_diffraction_grating.cs.
Member Function Documentation
◆ Apply()
| IMessage ZOSAPI.Analysis.IA_.Apply | ( | ) |
Use the current settings values to re-run the analysis.
- Returns
◆ ApplyAndWaitForCompletion()
| IMessage ZOSAPI.Analysis.IA_.ApplyAndWaitForCompletion | ( | ) |
Re-runs the analysis with the current settings and waits for it to finish calculating.
Usage (see Example 11 for a full sample)
C#
C++
Matlab
Python
- Returns
- Examples
- CSharpStandalone_04_pull_data_from_FFTMTF.cs, CSharpStandalone_10_NSC_ZRD_filter_string.cs, CSharpStandalone_11_Basic_Seq.cs, CSharpStandalone_15_Seq_Optimization.cs, CSharpStandalone_17_NSC_BulkScatter.cs, CSharpStandalone_21_White_LED_Phosphor.cs, CSharpStandalone_22_seq_spot_diagram.cs, CSharpStandalone_23_ray_fan_native_manual_comparison.cs, CSharpStandalone_24_nsc_detectors.cs, and CSharpStandalone_25_source_spectrum_diffraction_grating.cs.
◆ Close()
| void ZOSAPI.Analysis.IA_.Close | ( | ) |
Closes this analysis; note that it will be removed from the system permanently.
◆ GetResults()
| IAR_ ZOSAPI.Analysis.IA_.GetResults | ( | ) |
Gets the result data (if available) for the current analysis.
- Returns
◆ GetSettings()
| IAS_ ZOSAPI.Analysis.IA_.GetSettings | ( | ) |
Gets the settings for the current analysis.
Usage (see Example 17 for a full sample)
C#
C++
Matlab
Python
- Returns
- Examples
- CSharpStandalone_04_pull_data_from_FFTMTF.cs, CSharpStandalone_10_NSC_ZRD_filter_string.cs, CSharpStandalone_11_Basic_Seq.cs, CSharpStandalone_15_Seq_Optimization.cs, CSharpStandalone_17_NSC_BulkScatter.cs, CSharpStandalone_21_White_LED_Phosphor.cs, CSharpStandalone_22_seq_spot_diagram.cs, CSharpStandalone_23_ray_fan_native_manual_comparison.cs, CSharpStandalone_24_nsc_detectors.cs, and CSharpStandalone_25_source_spectrum_diffraction_grating.cs.
◆ IsRunning()
| bool ZOSAPI.Analysis.IA_.IsRunning | ( | ) |
Determines whether this analysis is currently updating.
- Returns
◆ Release()
| void ZOSAPI.Analysis.IA_.Release | ( | ) |
Disconnect this object from the interface, freeing up any memory in use. Note that unlike Close, this method does not remove the analysis from the current system.
◆ Terminate()
| bool ZOSAPI.Analysis.IA_.Terminate | ( | ) |
Attempt to cancel the currently running the analysis.
- Returns
◆ ToFile()
| void ZOSAPI.Analysis.IA_.ToFile | ( | String | Filename, |
| bool | showSettings = false, |
||
| bool | verify = false |
||
| ) |
◆ WaitForCompletion()
| void ZOSAPI.Analysis.IA_.WaitForCompletion | ( | ) |
Waits for the current analysis to finish running (if applicable).
Property Documentation
◆ AnalysisType
|
get |
◆ GetAnalysisName
|
get |
◆ HasAnalysisSpecificSettings
|
get |
Gets a value indicating whether this instance has a fully-implemented settings interface available. If false, the analysis settings can only be changed via IAS_.ModifySettings.
Usage (see Example 11 for a full sample)
C#
C++
Matlab
Python
true if this instance has analysis specific settings; otherwise, false.
- Examples
- CSharpStandalone_11_Basic_Seq.cs.
◆ StatusMessages
|
get |
◆ Title
|
get |