Frequency domain entropy, also known as spectral entropy (power) calculation, is performed in the following steps:

- Normalize the estimated PSD by dividing it by the total amount.

- Calculate the power spectral entropy using the standard formula for calculating entropy:

jojek source share