plotter module

Define the ABC Plotter to produce the plots.

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

Bases: ABC

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

__init__(*args, gui: bool = False, **kwargs) None

Instantiate the object.

Parameters:

gui – Can be used if using the GUI, eg to activate interactive mode.

abstractmethod plot_emission_yield(df: DataFrame, axes: T | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) T

Plot emission yield data.

abstractmethod plot_emission_energy_distribution(df: DataFrame, axes: T | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) T

Plot the given emission energy distribution, return Axes object.

abstractmethod plot_emission_angle_distribution(df: DataFrame, axes: T | None = None, population: Literal['SE', 'EBE', 'IBE', 'all'] | None = None, **kwargs) T

Plot the given emission angles distribution, return Axes object.

_abc_impl = <_abc._abc_data object>