Skip to content

scale to frequency #28

@Junyinghouse

Description

@Junyinghouse

Hi Sir,

Apologies, I sent the email below already, but just thought I'd repost here for others.

I have used cwt in wavelib to perform time frequency analysis. Parameters were set as exactly same as online demo,showing below. I exported results, abs(cwt.ouput), and plot in Matlab with jet colormap. However the spectrogram was much difference.

what's more. I thought converting scale to frequency obeys the formular, Fb = dt*Fc/scale, Fc is the center frequency of morlet mother mavelet, equals to 0.8125Hz. The result seems not in this case.

I have tried to set my scales by using setCWTScaleVector , and reconstructed the signal. In fact there exists big variance between reconstructed signal and raw signal.

I am really confused and not familar with cwt. Could you be able to provide me with some guidance on doing time-frequency analysis with wavelib? I'd very much appreciate the help.

Best regards
Junying

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions