My particular use case is that I’d like extend Holoviews to view the power spectral density or Fourier transform of my data. However, I’m not sure exactly where this code would go.

The core FFT routine would get wrapped in an `Operation`

, but it could also be integrated into an `Element`

, i.e. `hv.Fourier`

or something like this. It could be similar to `plt.psd`

. Some `Element`

s, like `hv.Bivariate`

and `hv.HexTiles`

, automatically perform transformations on the data, rather than directly plotting the raw data. However, others, like `hv.Histogram`

, does not calculate the histogram for you but rather plots an already-calculated histogram.

Personally, I find the `hv.Histogram`

model a little inconvenient, but I’m not sure if I’m just using it wrong, and there’s a clean way to also calculate the histogram. Mostly, I just try to rely on hvplot for plotting histograms.

Any advice on the best way to implement something like this? Thank you!