I wrote the code to generate pink noise from a given beta, where the spectrum is (1/f)^beta, and a given number of points. The algorithm is given by "Timmer, J. and Koenig, M.: On generating power law noise. Astron. Astrophys. 300, 707-710 (1995)".
Test the spectrum by using plotspectrum function in PlotTimeSeries.jl
I couldn't make packages and modules work, so to test it, you need to write
include("src/SimUtils.jl")
using .SimUtils
plotspectrum(gen_pinknoise(1.0))
I wrote the code to generate pink noise from a given beta, where the spectrum is (1/f)^beta, and a given number of points. The algorithm is given by "Timmer, J. and Koenig, M.: On generating power law noise. Astron. Astrophys. 300, 707-710 (1995)". Test the spectrum by using plotspectrum function in PlotTimeSeries.jl