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

mistake in time unit in jupiter notebook #3

Open
julfou81 opened this issue Oct 6, 2020 · 0 comments
Open

mistake in time unit in jupiter notebook #3

julfou81 opened this issue Oct 6, 2020 · 0 comments

Comments

@julfou81
Copy link

julfou81 commented Oct 6, 2020

Hi,

Thank you so much for sharing your code.
I may be wrong but it looks to me that the time for plotting the physiological data in the jupiter notebook is off. Indeed the time reported in the cmrr physiological file is in tic, which is in unit of 2.5ms.

I would correct the folowing lines:

'' t_puls = (t_puls - t_puls[0]) * dt_puls
t_resp = (t_resp - t_resp[0]) * dt_resp ''

into
'' t_puls = (t_puls - t_puls[0])*2.5/1000
t_resp = (t_resp - t_resp[0])*2.5/1000 ''

It match better the actual acquisition length this way. Do you agree?

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

No branches or pull requests

1 participant