finesse.solutions.array.ArraySolution.get_legacy_data

ArraySolution.get_legacy_data(self, model)

Get legacy style data

This produces a Numpy array and set of headers which is equivelent to parsing a Finesse 2 output file.

Parameters

model : finesse.model.Model

The Model used to produce this output file.

Returns

legacy_data : numpy.ndarray

The data array

column_names : list

List of column names

plot_type : ‘2D plot’ or ‘3D plot’

String indicating if the data should represent 2D or 3D scan.