physio-support > PhysIO toolbox for to use both .ecg and .resp logs
Showing 1-2 of 2 posts
Display:
Results per page:
Jun 17, 2022  03:06 PM | shahin
PhysIO toolbox for to use both .ecg and .resp logs
Hello,

When I use both .ecg and .resp files, PhysIO returns an error for the .resp file:

Error using tapas_physio_filter_respiratory (line 137)
Usage: y=filtfilt(b,a,x)

In the exmaple files of PhysIO, I see that .resp file is used with .puls file, and .ecg file is used separately. So, is it not possible to use .resp and .ecg file (without .puls) to generate one regressor file?

Thanks in davance for your help.
Jun 20, 2022  12:06 PM | Lars Kasper - Translational Neuromodeling Unit, IBT, University of Zurich and ETH Zurich
RE: PhysIO toolbox for to use both .ecg and .resp logs
Dear Shahin,

It should be possible to combine ECG and respiratory data in a single run of PhysIO. Your error message looks more like an issue with the function filtfilt. Could you paste the full error message, please?

Also, could you type "which filtfilt" in the Matlab command window to make sure you have the Matlab signal processing toolbox installed and that it's not using the one in SPM?

As this forum is not regularly monitored, would you be able to post on github in the future, please?

https://github.com/translationalneuromod...