plotter module

Define the ABC Plotter to produce the plots.

class Plotter(*args, gui=False, **kwargs)

Bases: ABC

A generic object to plot distributions, emission yields, etc.

Instantiate the object.

Parameters:

gui (bool, default: False) – Can be used if using the GUI, eg to activate interactive mode.

abstractmethod plot_emission_yield(df, axes=None, population=None, **kwargs)

Plot emission yield data.

Return type:

TypeVar(T)

abstractmethod plot_emission_energy_distribution(df, axes=None, population=None, **kwargs)

Plot the given emission energy distribution, return Axes object.

Return type:

TypeVar(T)

abstractmethod plot_emission_angle_distribution(df, axes=None, population=None, **kwargs)

Plot the given emission angles distribution, return Axes object.

Return type:

TypeVar(T)