Passing times of interest to time-frequency functions
See original GitHub issueWhat do you think about adding the ability to specify timepoints of interest in high-level time-frequency functions (like tfr_morlet
)?
Currently one would have to use for example epochs.time_as_index(times_of_interest)
and then create a slice to pass to decim
. It’s works ok for me but is not very intuitive for newcomers.
If you are 👍 then the API could be:
- passing a slice constructed from floats to
decim
would be interpreted as time in seconds and translated to relevant integer slice - a separate parameter, for example
times
ortoi
(after fieldtrip from times of interest) that would take an array-like of floats (or float slice)
I prefer option 2 because it is more intuitive to use times
than decim
to select relevant timepoints.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Time–frequency analysis - Wikipedia
The practical motivation for time–frequency analysis is that classical Fourier analysis assumes that signals are infinite in time or periodic, while many ...
Read more >Time-frequency decomposition - SEG Wiki
We can now call this function, passing it a frequency f = 261.63 Hz. We'll ask for 0.25 s, with a sample rate...
Read more >Time-Frequency Analysis of Time-Varying Signals and Non ...
We return to the signal example presented in Figure 4.4, two complex-valued Gaus- sian functions, centered at times t1 = 20 and t2...
Read more >Tutorial 24: Time-frequency - Biomedical Imaging Group
This tutorial introduces how to compute time-frequency decomposition ... A lot of the information of interest is carried by oscillations at ...
Read more >Time Frequency Analysis & Fourier Transforms - YouTube
COURSE WEBPAGE: Inferring Structure of Complex Systemshttps://faculty.washington.edu/kutz/am563/am563.htmlThis lecture gives an introduction ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Farewell my dear issue then… ⛄
you can close the issue 😉