Problem about function "y_Write"

Submitted by Zeqiang Linli on

 Dear Prof. Yan

I would like to write a 3-dimensions array (61*73*61) with many numbers with less than 1 into a .nii format file using Header of AAL3_61x73x61_YCG.nii. However, the numbers in  the array seems to be rounded down after writing to a .nii file. It seem to be the problem of the Header. 

Do you have an effective solution to this problem?

Best wishes,

Zeqiang Linli