-
Notifications
You must be signed in to change notification settings - Fork 163
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
twixread does not seem to work with recent raw Siemens data #288
Comments
Hi Michael, could you try again with the commits I just pushed? They seem to work for our VE data. But you are right, previously, bart would not read newer Siemens data correctly. Best regards, |
Hi Christian: Thank you very much for getting back about this problem! It looks to me like the in include in read.h of the ismrm subfolder should say #include "ismrm/ismrmrd.h" instead of "ismrmrd/ismrmrd.h" or one can create a symbolic link named isrmrmrd pointing to ismrm. At least this got me further along the compilation chain. Also the .h files ismrmrd.h and export.h were missing. I copied them to the ismrm subfolder of ~/bart/src. But maybe this all led to the next problem... When I try to compile bart with gcc-11 under OS X I (for x86_64 arch) get an error saying:
I am probably doing something wrong here ... but I did not seem to have this problem with the previous version when I compiled under OS X. Compilation under Ubuntu is in comparison smooth sailing, but it seems the problem got worse as I get core-dumps with all raw .dat files I try using the new version of bart.
Any help would be much appreciated! Thank you! and best regards, Michael |
Hi Michael and Christian, I was able to confirm this works for data from XA both on Linux and Mac, where the previous commit 093559f did not work correctly. Note I did not try to install ISMRMRD. I used gcc11 on Mac. |
Thank you Jon! Would you mind sharing your Makefile? Thanks, Michael |
For Mac using Macports, my Makefile is the same as https://github.com/mrirecon/bart/blob/master/Makefile ~/bart $ cat Makefile.local
PARALLEL=1
CC=gcc-mp-11 You might want to try |
Thank you Jon! Just managed to compile bart under OS X. Still get errors with .dat files acquired under VE11E on Siemens Aera and Siemens Prisma scanners.
|
For reference I used "siemens_to_ismrmrd" to read the raw data file giving trouble with bart.
As I managed to compile bart with ISMRM=1 I could first convert to ismrm format and then use that file with bart. I was still hoping to get the twixread function in bart to work with these files... |
Well, then it seems that there are still issues with the support for VE. Would it be possible to get access to a dataset that does not work? For example by e-Mail? If these are human data, maybe a phantom measurement would be more appropriate to share. But with such a dataset I could try to iron out remaining bugs in twixread. |
Hi Christian:
Is there another email address to which I can send you the Dropbox file share link? I am not sure where these emails go and I don’t want the link to go public.
I have put two raw data sets into a Dropbox folder.
One issue with the twixread in bart may be that you do not specify the scan you want to read in. I saved the complete RAID file in Twix for each acquisition, and these typically contain two scans. The acquisition data are in the last (second) scan, while the first scan has “adjustment” data.
Maybe you have to save the data for the "last scan” (the k-space data from your acquisition without data data from adjustment scan) separately with the TWIX tool, which I think is possible? Or twixread is modified to (typically) skip over the first scan and just read the last scan?
In the siemens_to_ismrmrd command you specify the scan number, though you can also write all scans in the file to hdf5 files.
Thank you!
Michael
… On Jun 23, 2022, at 11:02 AM, Christian Holme ***@***.***> wrote:
Well, then it seems that there are still issues with the support for VE. Would it be possible to get access to a dataset that does not work? For example by e-Mail? If these are human data, maybe a phantom measurement would be more appropriate to share.
But with such a dataset I could try to iron out remaining bugs in twixread.
—
Reply to this email directly, view it on GitHub <#288 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQVJP4D2E5UKLHSRD42KOTVQR4BZANCNFSM5ZCRM6AA>.
You are receiving this because you authored the thread.
|
Hi Michael, Unfortunately, this is public. You could share the link to holme@tugraz.at , then I will take a look. Best wishes, |
Thank you for the data! Now, twixread should be able to read those datasets. If you find others that do not work, please reopen this issue or raise a new one. Best wishes, |
Hi Christian: Thank you very much for your help with this!
Bart’s twixread does now seem to work with Siemens VE11E data acquired with cartesian sampling.
I will also try other trajectories and see how it goes!
Again, thank you for the help and rapid response!
Michael
… On Jul 1, 2022, at 5:45 AM, Christian Holme ***@***.***> wrote:
Thank you for the data!
Now, twixread should be able to read those datasets. If you find others that do not work, please reopen this issue or raise a new one.
Best wishes,
Christian
—
Reply to this email directly, view it on GitHub <#288 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQVJP4NHWF5JEH2OILAQQTVR242NANCNFSM5ZCRM6AA>.
You are receiving this because you authored the thread.
|
Hi Christian:
The data are from patient studies but the raw data were anonymized for export with the Twix tool on the scanner and no patient information is left.
I will create a shared folder and then get back.
Thanks,
Michael
… On Jun 23, 2022, at 11:02 AM, Christian Holme ***@***.***> wrote:
Well, then it seems that there are still issues with the support for VE. Would it be possible to get access to a dataset that does not work? For example by e-Mail? If these are human data, maybe a phantom measurement would be more appropriate to share.
But with such a dataset I could try to iron out remaining bugs in twixread.
—
Reply to this email directly, view it on GitHub <#288 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQVJP4D2E5UKLHSRD42KOTVQR4BZANCNFSM5ZCRM6AA>.
You are receiving this because you authored the thread.
|
Hi, This is the error I'm getting:
This is happening for all files I've tested. One file can be found here: Thanks for looking into this! |
Hi,
This works fine if I specify the -A flag:
bart twixread -A meas_MID00063_FID16996_ep2d_bold_SMS3_R4_12sl_3rep.dat ksp
cat ksp.hdr
# Dimensions
384 142 1 31 1 1 1 1 1 1 3 1 2 12 1 1
# Command
twixread -A meas_MID00063_FID16996_ep2d_bold_SMS3_R4_12sl_3rep.dat ksp
# Files
ksp <meas_MID00063_FID16996_ep2d_bold_SMS3_R4_12sl_3rep.dat
# Creator
BART v0.9.00-575-g118a306
Jon Tamir, PhD
Assistant Professor
Jack Kilby/Texas Instruments Endowed Faculty Fellowship in Computer Engineering
Chandra Family Department of Electrical and Computer Engineering
The University of Texas at Austin
www.jtsense.com<https://jtsense.com/>
From: Dario Bosch ***@***.***>
Date: Sunday, October 6, 2024 at 02:19
To: mrirecon/bart ***@***.***>
Cc: Jon Tamir ***@***.***>, Comment ***@***.***>
Subject: Re: [mrirecon/bart] twixread does not seem to work with recent raw Siemens data (Issue #288)
Hi,
I know this is an old issue, but I'm still having trouble reading twix files from VE12U. I compiled BART without ISMRMRD support, and tested both with v0.9.0 and with the most recent commit (d9d1962<d9d1962>)
This is the error I'm getting:
***@***.*** ~]$ bart twixread meas_MID00063_FID16996_ep2d_bold_SMS3_R4_12sl_3rep.dat sms3
VD/VE Header. MeasID: 63 FileID: 16996 Scans: 1
Patient: xxxxxxxxxxxxxxxxxxxxxxxx
Protocol: ep2d_bold_SMS3_R4_12sl_3rep
ERROR: Incorrect number of ADCs read! ADC count difference: 1 != 0!
Aborted (core dumped)
***@***.*** ~]$
This is happening for all files I've tested. One file can be found here:
https://owncloud.tuebingen.mpg.de/index.php/s/EKTrJcEgCAf24DP (will delete the file after 20. October 2024, let me know if you need it afterwards)
Thanks for looking into this!
Dario
—
Reply to this email directly, view it on GitHub<#288 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACCQC27ML2WC3MFT7W2KUKLZ2DP7HAVCNFSM6AAAAABPOCC6ZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGMZDONJRGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi, |
I have two raw datasets (saved with twixtool) from the same Prisma Fit scanner, with the more recent data set acquired with VE11E software. While the "twixread" function of BART does work with the older data set (VE11B), twixread fails with raw data set obtained with VE11E. In both cases the data were acquired with the same 3-plane localizer sequence.
I am using BART version v0.7.00-526-g093559f-dirty. Tried this under Ubuntu, and Mac OS x. In both cases same issue. Is the twixread function in BART not compatible with raw data from VE11E?
thank you!
Michael
The text was updated successfully, but these errors were encountered: