tapas icon indicating copy to clipboard operation
tapas copied to clipboard

Value 0 in repiratory phase calculation for highly sampled data

Open CarolineLndl opened this issue 1 year ago • 2 comments

Dear developers,

I've been using the toolbox for many years, but I'm facing a new problem. In this dataset, Physiological recordings (finger pulse sensor + belt for the resp) and EMG data were recorded simultaneously, leading to a very high sampling rate (2500Hz). I've used "custom" option with a .txt file for puls, resp and time and I get no error when I run the script. When look into the phase calculation, I saw some weird results and in this participant for example, you can see 0 values in the phase calculation of the respiratory data (while the raw data is very good). When I down sampled x10 (250Hz) the problem seems to disappear. Do you think that it can be related to the sampling rate of the data or did I miss something else? Thank you in advance!

Caroline output_Tapas_fmri_CL.pdf

CarolineLndl avatar Feb 22 '24 22:02 CarolineLndl

Dear Caroline,

Thank you for being a loyal PhysIO user - I am happy to hear it has been a useful tool to you for many years.

Also, my apologies for the delayed reply. This is an interesting behavior. What strikes me is that there are only a few sections of the time series affected, for example, between scan 60 and 80. Would you be able to provide the Matlab figs or even the complete physio_out folder for the analysis with and without downsampling, so that I can have a closer look at the data and zoom into these regions?

Thank you so much for your help!

All the best, Lars

mrikasper avatar Mar 21 '24 16:03 mrikasper

Dear Lars, You can find the outputs here: https://mcgill-my.sharepoint.com/:f:/g/personal/caroline_landelle_mcgill_ca/EjVi1nZD-wJLka6piE_7z1EB-YNmNZVWqtZwUW4Iw0Djiw?e=ajDTwo

it inlcudes the .mat output from Physio + the figures

Thank you a lot for your help ! Best, Caroline

CarolineLndl avatar Mar 25 '24 13:03 CarolineLndl