-
Notifications
You must be signed in to change notification settings - Fork 262
Provide at least reading capability for AFNI's (BRIK/HEAD) format #310
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
Comments
Yo - do you have some files in this format you can share? |
Hi! I'm also interested in this feature and would be happy to (privately) share data files. |
AFNI is open source, but I don't know what license it has; it is likely less permissive than NiBabel's, so just translating its C code into Python is shady. It would not be a violation of AFNI's copyright if one programmer were to read their source and document the file format in order for a second programmer to write a python implementation. I would happy to be either of these two programmers! |
On Tue, 22 Sep 2015, Eamon Caddigan wrote:
FWIW AFNI core developments since 2000 is a product of NIH, ie. Yaroslav O. Halchenko |
Might also be worth noting that there are publicly available .BRIK/.HEAD files in http://afni.nimh.nih.gov/pub/dist/src/ |
Just received some |
I was able to load my file using a MATLAB implementation here: Perhaps we can port this to Python? Does anybody know reliable tools to convert code to get a head start? |
On Sun, 20 Dec 2015, Ben Cipollini wrote:
FWIW, whenever last time I had to convert some matlab code over to the question here would also be what would be the best way to fit this |
Agreed. To start with, I hope a PR for the most simple case (reading single |
This is actually a project that I played around with a bit when I was first learning python some years back... there is absolutely no guarantee that this code still works or that it worked properly in the first place! So, user beware! https://github.com/njmei/AFNI-Python-IO/blob/master/AFNIPyIO.py To my knowledge though, most people use the native AFNI functions to convert the .BRIK and .HEAD files to .nifti and load into python with nibabel that way... |
Nice. I will give that a try in the next couple of weeks! |
Was I dreaming that there was already a PR with BRIKs support? |
Closed by #561. |
AFNI is quite widely used, and ATM I know no library to load those volumetric files in Python. It would be really great if at least reading, even if limited (e.g. for a specific subbrick) capabilities were introduced.
The text was updated successfully, but these errors were encountered: