Open jeschj01 opened 3 years ago
I found 'Custom' as one of the online examples for building your own brain object. I wanted to see if I could convert the mesh data to MNI space. I think that's what convert_meshdata is supposed to do, but it doesn't appear to change the values.
code:
mat = np.load(op.join(oDrive, 'Custom.npz')) vert, faces, norms = mat['vertices'], mat['faces'], mat['normals'] print(vert[0]) mv, mf, mn=visbrain.utils.convert_meshdata(vertices=vert, faces=faces, normals=norms) print(mv[0]) Output: [-0.0197168 -0.07383735 0.04496932] [-0.0197168 -0.07383735 0.04496932]
If that's not the purpose of this function, could you please tell me how to convert the above mesh data to MNI?
Thank you,
Jay
I found 'Custom' as one of the online examples for building your own brain object. I wanted to see if I could convert the mesh data to MNI space. I think that's what convert_meshdata is supposed to do, but it doesn't appear to change the values.
code:
If that's not the purpose of this function, could you please tell me how to convert the above mesh data to MNI?
Thank you,
Jay