Re: [HCP-Users] gradunwarp - "array index out of bounds" error in coef_file_parse routine

2016-10-20 Thread Glasser, Matthew
ober 19, 2016 at 3:25 PM To: Keith Jamison <kjami...@umn.edu<mailto:kjami...@umn.edu>>, Antonin Skoch <a...@ikem.cz<mailto:a...@ikem.cz>> Cc: HCP Users <hcp-users@humanconnectome.org<mailto:hcp-users@humanconnectome.org>> Subject: Re: [HCP-Users] gradunwarp - "

Re: [HCP-Users] gradunwarp - "array index out of bounds" error in coef_file_parse routine

2016-10-17 Thread Keith Jamison
That is the correct fix for this problem. It has no side-effects. Some scanners (eg: Siemens 7T) have coefficients of even higher orders, so you can actually increase the siemens_cas to 100 or so to accommodate the full range. That value just determines the preallocation, and the matrix is