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

Calculating Heart Rate and Heart Rate Variability from Siemen Tic Physio Files #242

Open
EmilyBelleau opened this issue Aug 22, 2023 · 1 comment
Assignees
Labels
physio Issues related to PhysIO Toolbox
Projects

Comments

@EmilyBelleau
Copy link

Hello,

I ultimately just want to be able to calculate mean HR and heart rate variability so that I can compare differences between groups.

I have created a matlab script using PhysIO, but it does not seem to be computing or saving heart rate or heart rate variability. I have Siemen's Tic log files as input.

I am attaching my script along with the physio files for 1 participant including an INFO file, a PULS file, and a RESP file.

I would appreciate any guidance on this!

Thanks!

Emily
physio1_script.txt
Info.log
PULS.log
RESP.log

@mrikasper mrikasper self-assigned this Sep 6, 2023
@mrikasper mrikasper added the physio Issues related to PhysIO Toolbox label Sep 6, 2023
@mrikasper mrikasper added this to To do in PhysIO via automation Sep 6, 2023
@mrikasper
Copy link
Member

Dear Emily,

Thank you for using the PhysIO Toolbox. In order to see the heart rate outputs, you would have to specify HRV as a model to include in your script as follows:

%% HRV (Model): Heart Rate variability, Chang et al., 2009
    model.hrv.include = 1;
    
    % one or multiple delays (in seconds) can be specified to shift
    % canonical HRV response function from Chang et al., 2009 paper
    % Delays e.g. 0:6:24s (Shmueli et al, 2007, NeuroImage 38)
    model.hrv.delays = 0;

Then, you will see the heart rate, sampled at the onset slice for every volume, as physio.ons_secs.hr in the output physio.mat, see here for more details.

I hope that helps.

All the best,
Lars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physio Issues related to PhysIO Toolbox
Projects
PhysIO
  
To do
Development

No branches or pull requests

2 participants