You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Glad you've found it useful, and thanks for your questions. To answer:
The coefficient of the frequency modulation specified on line 94 of this function is half that of the coefficients used for amplitude modulation and baseline wander. The coefficients are arbitrary, and I found that using the same coefficient for FM as for AM and BW resulted in extremely large variations in beat-to-beat intervals, which were too large to be close to normal physiological variations. Hence, the coefficient was halved.
The detrending performed on line 240 of this function is necessary to achieve the desired amplitude modulation. Initially, the unmodulated signal occupies the range of 0 to 1. The amplitude modulation is added by multiplying the original signal values by an offset cosine function (with a mean of 1). Consequently, if the unmodulated signal was used, then the lowest values (at 0), would not be exposed to any amplitude modulation (since 0 multiplied by the cosine function will be 0). Detrending the signal prior to the multiplication ensures that both the lower and upper parts of the signal are subject to amplitude modulation. It may be helpful to visualise this by trying it with and without the detrending step.
Great work, I have enjoyed getting to play around with the simulation framework you produced.
I have two questions:
Thanks
J
The text was updated successfully, but these errors were encountered: