ModelResult¶
- class photonforge.ModelResult(s_matrix, status=None)¶
Convenience class to return S matrix results immediately.
If a model performs S matrix calculations in a single step, it can use this class to return the required object with the results.
- Parameters:
s_matrix (SMatrix) – S matrix dictionary to be returned as a result.
status (dict[str, Any] | None) – Dictionary with
'progress'
and'message'
.