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 :
ModelThe model used to produce this output file.
filename :
str, optionalThe path of the output file.
legacy_data :
numpy.ndarray, optionalThe legacy output data to be written.
column_names :
list, optionalThe 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.
See also
Notes
If any of legacy_data, column_names or plot_type are None then all three will be automatically computed.