arpes.plotting.ui.smoothing.SmoothingApp#

class arpes.plotting.ui.smoothing.SmoothingApp(data, **kwargs)[source]#

An interactive smoothing UI for xarray DataArray using Panel and HoloViews.

__init__(data, **kwargs)[source]#

Initialize the SmoothingApp with data and parameters.

Parameters:
  • data (xr.DataArray) – Input data to be smoothed.

  • **kwargs – Additional parameters for the UI, such as pane_kwargs.

Methods

__init__(data, **kwargs)

Initialize the SmoothingApp with data and parameters.

_boxcar_smoothing(data, **kwargs)

_build()

Abstract method to build the user interface.

_gaussian_smoothing(data, **kwargs)

_get_current_params()

Retrieve current values from parameter widgets.

_on_apply(_)

Callback when Apply button is clicked.

_savitzky_golay_smoothing(data, **kwargs)

_update_plot()

Update the HoloViews plot with the current (smoothed) data.

_update_smooth_param_widgets(*_)

Update the parameter widgets based on the selected smoothing function.

log_message(message)

Append a message to the log and update the message pane.

panel()

Return the Panel layout for the smoothing application.

Attributes

_abc_impl