8000 CWT magnitude conversion · Issue #27 · rafat/wavelib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
CWT magnitude conversion #27
Open
Open
@szokolai-mate

Description

@szokolai-mate

Could you please shed some light on how the CWT coefficients could be used for a "correct" magnitude spectrum?
Currently, the magnitudes seem to be a function of frequency, with lower frequencies having much higher magnitudes.

As an example, I have generated a test signal with two sinusoidal components: 50Hz at 0.5 amplitude and 440Hz at 0.5 amplitude.
My goal would be the equivalent of what Matlabs CWT gives me: the two components with 0.5 and 0.5 magnitudes. This screenshot illustrates the "imbalance", and I get the same results by using the library linked to my program:
Screenshot from 2020-10-18 14-55-38
As you can see, the frequencies are correct, but 50Hz shows ~11.728, and 440Hz shows ~4.62 as magnitudes.

Appreciate the help!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0