Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple access to a wavelet ? #47

Open
SimonCoste opened this issue Sep 15, 2023 · 1 comment
Open

Simple access to a wavelet ? #47

SimonCoste opened this issue Sep 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@SimonCoste
Copy link

Hi, is there any simple way to directly access any wavelet as a function ?
For example,

m = Morlet()
m(0.5) # should output the value of the Morlet wavelet at the point 0.5.

Thanks !
Simon

@dsweber2 dsweber2 added the enhancement New feature or request label Oct 1, 2023
@dsweber2
Copy link
Member

dsweber2 commented Oct 1, 2023

So there currently isn't a way to directly get the space domain of just the unscaled mother, as they're mostly represented internally in the Fourier domain. If you're looking for plotting purposes (e.g. the ones on the readme landing page), there's a space domain representation ψ given by

m = Morlet()
ψ, ω = computeWavelets(n, m; space = true)

though to get the values its computed at, you'd also have to convert the frequency ω to time.

I think probably the "proper" way to do this would be include the analytic version of the space domain, which in principle isn't too hard. Though the orthogonal wavelets, with their recursive definition, would be more involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants