Implement MRIQC tools in my own script

54 views
Skip to first unread message

Ryan Cali

unread,
Jul 9, 2022, 1:13:00 PM7/9/22
to mriqc-users
Hi,

Is there a way to only use the snr and cnr tools and not run the mriqc in its entirety? I'm looking to simply calculate snr and cnr on a T1w image within a script that I'm building and then produce some graphs. 



Cheers,


Ryan 

Molly Ireland

unread,
Aug 17, 2022, 10:54:04 PM8/17/22
to mriqc-users
Hi Ryan,

If you pip install mriqc, you should be able to access the packages in your code editor. For example in python I used the following script:

from mriqc.qc import anatomical

The anatomical package contains the iqa metrics.

Hope that helps.
Reply all
Reply to author
Forward
0 new messages