pylbo.visualisation.eigenfunctions.derived_eigfunc_handler

Classes

DerivedEigenfunctionHandler

Main handler for derived eigenfunctions.

Module Contents

class pylbo.visualisation.eigenfunctions.derived_eigfunc_handler.DerivedEigenfunctionHandler(data, def_ax, spec_ax)

Bases: pylbo.visualisation.eigenfunctions.eigfunc_interface.EigenfunctionInterface

Main handler for derived eigenfunctions.

_function_names
_check_data_is_present()

Checks if the required data is present to draw for example eigenfunctions, is overloaded in subclasses.

update_plot()

Updates the plot when an event is triggered, clears and then redraws the functions. Rescaling of the axes is done automatically. Has to be overridden in a subclass.

_get_title(ef_name)

Creates the title of the derived eigenfunction plot.

Parameters:

ef_name (str) – The name of the derived eigenfunction as present in the datfile.

Returns:

name – The ‘new’ name for the derived eigenfunction, used as title.

Return type:

str

_mark_points_without_data_written()

For dataseries, it is possible that not all datasets in the series have eigenfunctions associated with them. This routine will toggle a change in the opacity value for datapoints with no functions, so they are clearly distinguishable from those who do have them.