Default parameters of `power_spectrum`
When updating to version 2, the default parameters of power_spectrum
changed (window changed from 'hann' to None and detrend from 'linear' to 'constant'). For me, for example, this change resulted in the calculated spectra becoming unusable. It should be considered whether the default parameters should be set back to the previous ones as part of downward compatibility. In addition, for most users, a spectrum with window and detrend is probably more likely to produce the results they expect.