Using EMAN2 with NumPy
Basic support exists for converting EMData objects to and from 32-bit float NumPy arrays:
import EMNumPy a=EMData(128,128) ary=EMNumPy.em2numpy(a) b=EMNumPy.numpy2em(ary)
Basic support exists for converting EMData objects to and from 32-bit float NumPy arrays:
import EMNumPy a=EMData(128,128) ary=EMNumPy.em2numpy(a) b=EMNumPy.numpy2em(ary)
Eman2NumPy (last edited 2013-07-12 11:11:17 by SteveLudtke)