Series¶
-
class
Series(variable, data, labels=None)¶ A series of data points determined by a common relation, i.e. \(y = f(x)\)
Attributes: - variable : array_like
Independent variable for which the data was computed.
- data : array_like
An array of values which were computed as a function of
variable. It can be 1D or 2D. In the latter case each column represents the result of a different function applied to the samevariableinput.- labels : dict
Plot labels: ‘variable’, ‘data’, ‘title’ and ‘columns’.
Methods
plot(**kwargs)Labeled line plot reduced()Return a copy where the data is summed over the columns with_data(data)Return a copy of this result object with different data -
plot(**kwargs)¶ Labeled line plot
Parameters: - **kwargs
Forwarded to
plt.plot().
-
reduced()¶ Return a copy where the data is summed over the columns
Only applies to results which may have multiple columns of data, e.g. results for multiple orbitals for LDOS calculation.
-
with_data(data)¶ Return a copy of this result object with different data