-
Notifications
You must be signed in to change notification settings - Fork 90
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
PhysIO Not Accepting 7T .resp, .ext and .puls Files? #283
Comments
Dear Emily, Thank you for trying out the PhysIO Toolbox! This looks like the standard Siemens VB / IdeaCmdTool log format, and you could start from that example to adapt your script or matlab job. Would you be able to export your job file as a Thank you and All the best, |
Hi Lars, Thanks for your quick response! Here is a copy of the base script I am trying to get functional: % 2. Define physio model structure % 3. Define input files % 4. Define scan timing parameters % 5. Define cardiac data parameters % 6. Define generic physio model parameters Here is the error I am getting: Error in tapas_physio_read_columnar_textfiles (line 107) Error in tapas_physio_read_physlogfiles_siemens_tics (line 109) Error in tapas_physio_read_physlogfiles (line 92) Error in tapas_physio_main_create_regressors (line 121) Error in physIO_example_script_TEST (line 82) Is Siemens_Tics the proper input for physio.log_files.vendor? Or is this error related to something else? It's looks like formatting to me. |
Dear Emily, The format you have is not Have a look at the example data for PhysIO: After typing The SPM job code version of the example comes with the code, if you use SPM anyway. Also, I would recommend using the DICOM file of your first or last volume in the fMRI run as input for I hope that helps. All the best, |
Sorry, I'm a bit new. Unfortunately, I don't have access to the dicoms for this particular data set, but there does appear to be triggers in the .ext file (at least I think so). There are a lot of zeroes but a sequence every so often ' 1 1 5000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1'. Does this signify a trigger? Are the fMRI DICOM files necessary to run PhysIO? When modifying it to 'Siemens' I get this following error: Error in tapas_physio_read_physlogfiles_siemens (line 104) Error in tapas_physio_read_physlogfiles (line 87) Error in tapas_physio_main_create_regressors (line 121) Error in physIO_example_script_TEST (line 82) Is this related to the lack of DICOM files? Apologies if the questions are obvious, but I'm new to this and just trying to figure it all out. Thanks again so much for your help here. |
Dear Emily, You can just put If you don't have a DICOM file, maybe you got a All the best, |
Thanks again for this info! This has been really helpful. I have another question couple questions for you if that's okay.
Why is there a discrepancy between LogStopMPCUTime - LogStartMPCUTime and LogStopMDHTime - LogStartMDHTime? Which should I use? If I have 189 volumes, will it correctly align the start time with how many volumes?
Again, thank you so much for your time! |
Dear Emily,
All the best, |
I've tried having the log_files.scan_timing as my .ext file path with the triggers in it (which would be optimal) and I've also tried the log_files.scan_timing as my .json file path. I've also tried both scan_timing.sync.method = 'nominal'; and scan_timing.sync.method = 'scan_timing_log'; I've tried each combination of these parameters and no matter what, I am getting the following error:
It seems as though it keeps looking for a DICOM file. Is there any way around using the DICOMS? **Edited for length. |
Really hoping to find a solution to this! Thanks again! |
Dear Emily,
Thank you and All the best, |
When I run it with physio.log_files.scan_timing = ''; and scan_timing.sync.method = 'nominal', it does run and outputs figures, but then runs into an error saying: Error using tapas_physio_main_create_regressors I've attached a .json file here. |
Just wanted to follow up on this as it is still an issue. Thanks again! |
Dear Emily, For the
? It's really odd why that part is not working, but I will only have time next week to look closely into this. All the best, |
I did. I have even managed to get access to the dicoms so that I could make use of the data and the last dicom isn't working either. I'd rather use the trigger files if possible, but if there were any way to get this up and rolling, it would be so very appreciated. |
Dear Emily,
I am really at a loss here, this should work. Would you be able to send me the example logfile that belongs to the json file you sent as well the matlabbatch or m-file script that you are trying to run?
You can send it via email if you don't want to post it here (see below).
Thank you!
All the best,
Lars
…--
Lars Kasper, PhD (he/him)
***@***.***
MR Physicist
Toronto Neuroimaging Facility (ToNI), Department of Psychology, University of Toronto
325 Huron St, Toronto, ON M5S 3J7
phone: +1 416-978-7613 (office) / +1 416-946-0356 (scanner)
________________________________
From: EmilyJD777 ***@***.***>
Sent: Monday, October 28, 2024 5:17:56 PM
To: translationalneuromodeling/tapas ***@***.***>
Cc: Lars Kasper ***@***.***>; Assign ***@***.***>
Subject: Re: [translationalneuromodeling/tapas] PhysIO Not Accepting 7T .resp, .ext and .puls Files? (Issue #283)
I did. I have even managed to get access to the dicoms so that I could make use of the data and the last dicom isn't working either. I'd rather use the trigger files if possible, but if there were any way to get this up and rolling, it would be so very appreciated.
—
Reply to this email directly, view it on GitHub<#283 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADFUIX7J2ZO7S7MPILOZJ3TZ52SYJAVCNFSM6AAAAABPSTFML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGY2DQMZXGU>.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Could you DM me your email address? I tried emailing through github but the file size of the .m is too large. |
Hi Emily, You can use my email at the top of the PhysIO README. Thank you for sending the data! All the best, |
Hi there, Just wanted to follow up and see if any progress was made with the data I sent. Thanks again! |
Dear Emily, Sorry for the delay. I was able to find out what created the issue:
I hope that helps! All the best, |
Hi there,
I've got raw PMU fomatted data for Siemens 7T fMRI (as .ext. .puls and .resp files). I can't seem to get PhysIO to read the formatting, which looks like this:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5003
ECG Freq Per: 0 0
PULS Freq Per: 65 911
RESP Freq Per: 10 5980
EXT Freq Per: 0 0
EXT2 Freq Per: 0 0
ECG Min Max Avg StdDiff: 110 545 276 123
PULS Min Max Avg StdDiff: 547 2823 909 15
RESP Min Max Avg StdDiff: 3380 11720 5859 776
EXT Min Max Avg StdDiff: 1660 30005 6694 4698
EXT2 Min Max Avg StdDiff: 0 0 0 0
NrTrig NrMP NrArr AcqWin: 0 0 0 0
LogStartMDHTime: 9405947
LogStopMDHTime: 14579527
LogStartMPCUTime: 37313200
LogStopMPCUTime: 42486697
6003
Is this is known issue in PhysIO or have I missed something? Any help you might have would be greatly appreciated. Thanks again!
The text was updated successfully, but these errors were encountered: