-
Notifications
You must be signed in to change notification settings - Fork 59
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
Signal2control module ideas #208
Comments
Another use of the second tactic would be for the accelerometers and motion capture signals. |
considering Fourier analysis: effects of spectral leakage will be very large for the 1st approach, since the window cannot be made arbitrary long. When you make it too long the effect of control will disappear. I think that temporal analysis (with appropriate filters that have very long filter kernels) will be better. But estimating phase will be hard if the signal is not very periodic (1) and if its amplitude fluctuates (2). Both 1 and 2 cause the signal to become wider in the fourier spectrum. I propose to start developing something in MATLAB, ignoring the noise for the moment. |
Thanks. I do want to note that the EGG is, in fact, very periodical
(forgetting noise for a moment), with phase estimation arguably quite
effective in my previous lab. I am concerned about the neccecary filter
order however...
On 24 Feb 2018 1:02 p.m., "Robert Oostenveld" <notifications@github.com> wrote:
considering Fourier analysis: effects of spectral leakage will be very
large for the 1st approach, since the window cannot be made arbitrary long.
When you make it too long the effect of control will disappear.
I think that temporal analysis (with appropriate filters that have very
long filter kernels) will be better. But estimating phase will be hard if
the signal is not very periodic (1) and if its amplitude fluctuates (2).
Both 1 and 2 cause the signal to become wider in the fourier spectrum.
I propose to start developing something in MATLAB, ignoring the noise for
the moment.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALc0BrMKI4L-BHbgNTsJ9MkR8pnRXaeeks5tX_pUgaJpZM4SR28->
.
|
With which precision is it periodic? You write 0.05 Hz, which given rounding can be anywhere between 0.045 and 0.055, i.e. 10% uncertainty in both directions.
Alpha tends to be periodic with some 5% frequency jitter (half a Hz both directions), already causing a significant widening of the peak if you look at the spectrum. Theta has a wider frequency spread than alpha. Gamma can have 20-30% frequency spread.
If there is an amplitude modulation at M Hz then the spectral peak (relevant for estimating phase) will be plus-minus M Hz wider. If the AM is not at a single frequency, but a mix, the sidebands will be wider. All logic for “normal” frequencies applies to 0.05Hz signals as well. E.g. I would only do a wavelet analysis with at least three cycles (which is 60 seconds here) or more.
… On 24 Feb 2018, at 13:12, Stephen Whitmarsh ***@***.***> wrote:
Thanks. I do want to note that the EGG is, in fact, very periodical
(forgetting noise for a moment), with phase estimation arguably quite
effective in my previous lab. I am concerned about the neccecary filter
order however...
On 24 Feb 2018 1:02 p.m., "Robert Oostenveld" ***@***.***>
wrote:
considering Fourier analysis: effects of spectral leakage will be very
large for the 1st approach, since the window cannot be made arbitrary long.
When you make it too long the effect of control will disappear.
I think that temporal analysis (with appropriate filters that have very
long filter kernels) will be better. But estimating phase will be hard if
the signal is not very periodic (1) and if its amplitude fluctuates (2).
Both 1 and 2 cause the signal to become wider in the fourier spectrum.
I propose to start developing something in MATLAB, ignoring the noise for
the moment.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALc0BrMKI4L-BHbgNTsJ9MkR8pnRXaeeks5tX_pUgaJpZM4SR28->
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#208 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA2344U_4LB2C4DJVYeaHiLI5ZeyP0Aqks5tX_yQgaJpZM4SR28->.
|
Yes, ofcourse, I agree with the width of the EGG spectral peak. What I wanted to emphasize is that in my previous lab we have been arguably successful in identifying the EGG peak and extracting the phase. The example picture here is ofcourse of a representative subject - it is different from subject to subject: But you are absolutely right that with a relatively small filterorder (still huge given the low frequency), we will have a pretty wide power/phase estimate. For the analysis of variance in the phase, the width of the filter allowed shifts in frequency. If I remember correctly, something like a half-width of 0.01 Hz was used. Practically, however, the filter-order was really a matter of a couple of minutes. Still, the point I wanted to make is
I agree we should do some offline tests. I will measure some EGG, say 20 minutes, this/next week, and take a look. |
After exploring electrogastography, it became clear that this poses some (expected) practical problems.
EGG signal is at around 0.05 Hz, requiring minimally a minute long timewindow for the power estimate. More problematic, is that the fluctuations of power are expected to occur even slower. Which makes automatic/manual calibration very tricky indeed. I see two solutions:
Cheers,
Stephen
The text was updated successfully, but these errors were encountered: