-
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
Siemens Physio (.phys/.puls) #287
Comments
Dear @HuwSwan,
Thank you for using PhysIO. I agree that the information is a bit buried, but what you want to do is exactly what the Siemens_VB logfile format offers. The file for scan_timing you have to specify is either the first or last DICOM file in your fMRI time series (and set align_scan accordingly).
By using tapas_download_example_data() (see also TAPAS main README), you can find a running example for using the first DICOM file of an fMRI run to synchronize your physiological data (https://github.com/translationalneuromodeling/tapas/blob/master/PhysIO/examples/tapas_physio_example_siemens_vb_ppu3t_sync_first_spm_job.m). The next release of PhysIO will enable to use the json sidecar file information after dcm2niix conversion as well, so you don't need the DICOMs any longer.
More background on how the synchronization works can be found in our wiki: https://gitlab.ethz.ch/physio/physio-doc/-/wikis/MANUAL_PART_READIN
I hope that helps!
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: HuwSwan ***@***.***>
Sent: Wednesday, November 13, 2024 6:50:31 AM
To: translationalneuromodeling/tapas ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [translationalneuromodeling/tapas] Siemens Physio (.phys/.puls) (Issue #287)
Hello all,
I'm working with data from a Siemens 3T prisma, and having a bit of a synchronisation issue.
The log files are initiated manually from the terminal, thus both puls and resp files have different start times. In TAPAS I can only enter one value for relative_start_acquisition, meaning I have no way to align the physiology with the scans.
I tried createing a 'Custom' set of physiology data by just extracting the relevant physiology information during my acquisitions, saving them into txt files and running it manually, but this seems to also not work as the toolbox will hang for ~30 minutes on an EPI sequence about 1 minute in length. I assume this is because such manual alignment means there are no dummy scans or prep period, but I don't have any timing information for these, all I have is the initiation of the physio log, and the time of the first true volume acquisition.
What's the best way to navigate this? I haven't found a way to write ammended .resp/.puls files to manually align them, but I also am unfamiliar with any alternative way to resynchronise the data if the relative start times cannot be individually defined.
In the help text for 'relative_start_acquisition' there is mention of using an 'acquisition_info' file for synchronising things, which sounds like it would be an applicable thing to use, however I cannot find a single mention of what format this file should take or what it should containg in any documentation or help archives.
Thank you kindly.
—
Reply to this email directly, view it on GitHub<#287>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADFUIX46Q2ZXSDMTYGB34G32AM4IPAVCNFSM6AAAAABRWJP746VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2TKMRTGM2DINA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Righto, I see. This requires manually reading every DICOM to find the exactly relevant last volume from each acquisition if I understand correctly? I had been hoping to avoid this as it's quite a slow process but can do! |
Dear @HuwSwan,
I don't think there is a lot of manual intervention necessary. You can just use the first volume in the DICOM folder of the respective run and select align_scan - 'first';
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: HuwSwan ***@***.***>
Sent: November 13, 2024 10:18 AM
To: translationalneuromodeling/tapas ***@***.***>
Cc: Lars Kasper ***@***.***>; Comment ***@***.***>
Subject: Re: [translationalneuromodeling/tapas] Siemens Physio (.phys/.puls) (Issue #287)
Righto, I see.
This requires manually reading every DICOM to find the exactly relevant last volume from each acquisition if I understand correctly?
I had been hoping to avoid this as it's quite a slow process but can do!
—
Reply to this email directly, view it on GitHub<#287 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADFUIX25I6X4EAIL64CVSJ32ANUV3AVCNFSM6AAAAABRWJP746VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTHEZDAMBXGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all,
I'm working with data from a Siemens 3T prisma, and having a bit of a synchronisation issue.
The log files are initiated manually from the terminal, thus both puls and resp files have different start times. In TAPAS I can only enter one value for relative_start_acquisition, meaning I have no way to align the physiology with the scans.
I tried createing a 'Custom' set of physiology data by just extracting the relevant physiology information during my acquisitions, saving them into txt files and running it manually, but this seems to also not work as the toolbox will hang for ~30 minutes on an EPI sequence about 1 minute in length. I assume this is because such manual alignment means there are no dummy scans or prep period, but I don't have any timing information for these, all I have is the initiation of the physio log, and the time of the first true volume acquisition.
What's the best way to navigate this? I haven't found a way to write ammended .resp/.puls files to manually align them, but I also am unfamiliar with any alternative way to resynchronise the data if the relative start times cannot be individually defined.
In the help text for 'relative_start_acquisition' there is mention of using an 'acquisition_info' file for synchronising things, which sounds like it would be an applicable thing to use, however I cannot find a single mention of what format this file should take or what it should containg in any documentation or help archives.
Thank you kindly.
The text was updated successfully, but these errors were encountered: