pylbo.visualisation.eigenfunctions.eigfunc_handler
Classes
Main handler for eigenfunctions. |
Module Contents
- class pylbo.visualisation.eigenfunctions.eigfunc_handler.EigenfunctionHandler(data, ef_ax, spec_ax)
Bases:
pylbo.visualisation.eigenfunctions.eigfunc_interface.EigenfunctionInterfaceMain handler for 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 eigenfunction plot. If the eigenfunction is retransformed an ‘r’ is prepended if appropriate, along with Re/Im depending on the real/imaginary part shown.
- _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.