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

tapas_physio_read_physlogfiles_siemens.m input variables #239

Open
reemTamimi opened this issue Aug 7, 2023 · 1 comment
Open

tapas_physio_read_physlogfiles_siemens.m input variables #239

reemTamimi opened this issue Aug 7, 2023 · 1 comment
Assignees
Labels
physio Issues related to PhysIO Toolbox
Projects

Comments

@reemTamimi
Copy link

Hello, I am trying to run the tapas_physio_read_physlogfiles_siemens.m script to read physio data from the scanner files (.resp, .puls). I am running it by first defining the variables in the command line. The function takes four arguments: log_files, cardiac_modality, verbose, and varargin. I first define log_files as a string of the file name. Then for cardiac modality, I define it as a string of 'PULS'. Then for verbose, I define it as a struct with the field .level equal to 2. I am not sure if I also have to identify the .fig_handles part. I am stuck on the varargin as I don't know what to define it as. Can you please tell me what the appropriate input variables should look like in the command line? Please let me know if you would like me to provide more information!

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

mrikasper commented Aug 9, 2023

Dear @reemTamimi,

I would suggest you start from one of the example scripts and data that you can download as described here.

In your case, tapas_physio_example_siemens_vb_ppu3t_sync_first_matlab_script.m might be a good candidate. You can then open tapas_physio_read_physlogfiles_siemens and set a breakpoint at the start and run the example script. This way, you will see how the different input fields should be populated in this function, e.g., by looking at the workspace variables. There is also some documentation of the different fields either in the header of tapas_physio_read_physlogfiles_siemens itself or in tapas_physio_new if you just open it with Matlab/an editor of your choice.

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