As a person interested in acoustics, I often plot FFT results on double-logarithmic scales. The results are often pretty noisy and smoothing is typically applied, for example with a width of 1/12 octaves. Unfortunately, so far there has been no easy way to perform smoothing and resampling on a logarithmic axis in Julia.
I’ve now written a little demo/tutorial notebook to change that: GitHub - Firionus/logarithmic_smoothing_julia_demo: How to perform logarithmic smoothing in Julia
If you also need log smoothing, I hope you like the way it works in the tutorial. I’ve certainly implemented it badly way too many times before and now finally found the time to do it properly. If you see any mistakes or have questions, please leave a comment
As for the broader appeal, the tutorial uses two unregistered packages I wrote:
- GitHub - Firionus/NonlinearSequences.jl: logarithmically and power spaced values - basically a nice logspace API
- GitHub - Firionus/NonuniformResampling1D.jl: Resamples uniformly sampled 1D data at nonuniform locations - a simple window-based resampler that allows arbitrary output coordinates and adjusts the smoothing width based on the distance between output coordinates
Before registering these packages I’d like to take in some feedback. Is their functionality something you can see yourself using? Do you think they should be registered? Do you see any obvious problems with their code? If so, let me know in the comments. I’d love to hear from the community