finesse.solutions.array.ArraySolution.write_legacy_data¶
- ArraySolution.write_legacy_data(self, model, filename='data.out', legacy_data=None, column_names=None, plot_type=None)¶
Write Finesse 2 style ASCII output file
- Parameters
- model
Model
The model used to produce this output file.
- filename
str
, optional The path of the output file.
- legacy_data
numpy.ndarray
, optional The legacy output data to be written.
- column_names
list
, optional The colomn names which correspond to the legacy data.
- plot_type“2D plot” or “3D plot”, optional
String indicating if the data should represent 2D or 3D scan.
- model
See also
Notes
If any of legacy_data, column_names or plot_type are None then all three will be automatically computed.