zospy.analyses.base.OnComplete#
- class zospy.analyses.base.OnComplete#
Bases:
str
,Enum
Action to perform after running an OpticStudio analysis.
This Enum can be passed to analysis methods in zospy.analyses.
Examples
Run a System Data analysis and keep the analysis open:
>>> from zospy.analyses import OnComplete >>> from zospy.analyses.reports import system_data >>> result = system_data(oss, OnComplete.Sustain)
- Attributes:
- Closestr
Close the analysis.
- Releasestr
Keep the analysis open, but not active.
- Sustainstr
Keep the analysis open and active.
- Close = 'Close'#
Close the analysis.
- Release = 'Release'#
Keep the analysis open, but not active.
- Sustain = 'Sustain'#
Keep the analysis open and active.
- __new__(value)#