Skip to content

mistake in time unit in jupiter notebook #3

@julfou81

Description

@julfou81

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions