arpes.analysis.derivative.minimum_gradient#
- arpes.analysis.derivative.minimum_gradient(data, *, smooth_fn=None, delta=1)[source]#
Implements the minimum gradient approach to defining the band in a diffuse spectrum.
- Parameters:
data (DataType) – ARPES data (xr.DataArray is prefarable)
smooth_fn (Callable| None) –
Smoothing function before applying the minimum graident method. Define like:
def warpped_filter(arr: xr.DataArray): return gaussian_filtter_arr(arr, {"eV": 0.05, "phi": np.pi/180})
delta (DELTA) – should not set. Use default 1
- Returns:
The gradient of the original intensity, which enhances the peak position.