zospy.analyses.base.AnalysisResult#
- class zospy.analyses.base.AnalysisResult#
Bases:
Generic[AnalysisData,AnalysisSettings]Zemax OpticStudio analysis result.
- Attributes:
- dataAnalysisData
The data of the analysis. Can be a pandas.DataFrame, numpy.ndarray, or an analysis-specific dataclass.
- settingsAnalysisSettings
The settings of the analysis.
- metadataAnalysisMetadata
Metadata of the analysis. Contains the date and time of the analysis, the feature description, the lens file, and the lens title.
- headerlist[str] | None
The header data of the analysis. Only available for some analyses.
- messageslist[AnalysisMessage] | None
Error messages from the analysis.
Methods
- __init__(*args: Any, **kwargs: Any) None#
- classmethod from_json(data: str)#
Create a result from a JSON string.
- to_json()#
Convert the result to a JSON string.