So, I have a weight map I generated using some feature selection method. I want to visualize this weight map.
I've done this sort of thing in the past. I usually, write out my weight map as an ASCII file with a .BRIK extension, using fwrite. I then copy the .HEAD file of a similar sized (Slice, time, etc) expt. Then, I run 3dnewid and 3drefit -redo_bstat
When I run 3dnewid I keep getting 'have no warp but have no data as well'. Ive tried a lot of things, but I keep getting this error. Please help.
You can find the necessary files here:
[
www.cse.msu.edu]
[
www.cse.msu.edu]
[
www.cse.msu.edu]
Here's the exact list of operations I perform:
*****IN MATLAB******
fid=fopen('fil.BRIK','w');
fwrite(fid,w,'float');
fclose(fid);
*****IN SHELL UNIX**
cp reg_TS1_mask800_detrend_norm_float_0_15+tlrc.HEAD fil.HEAD
3dnewid fil
3drefit -redo_bstat fil
********************
I get the errors when i try to get a new id.
Please Help.
Sincerely,
Mayur