Skip to content

Spectral entropy not stable #10

@MaxHeuillet

Description

@MaxHeuillet

Hello Raphael,

I analyzed the formula for the spectral entropy.

You provide 2 methods: periodogram and welch

However, periodogram is unstable and leads sometimes to Nan/Infinity due to the log2 computation.
In order to improve this formula, I would advice you to:

  1. add a note for the use of periodogram
  2. add a default value to 1 for the sampling frequency

Best, -MH

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions