Differences between revisions 1 and 2
Revision 1 as of 2013-07-12 09:36:24
Size: 202
Editor: SteveLudtke
Comment:
Revision 2 as of 2013-07-12 11:11:17
Size: 222
Editor: SteveLudtke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Basic support exists for converting EMData objects to and from NumPy: Basic support exists for converting EMData objects to and from 32-bit float NumPy arrays:

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)

Eman2NumPy (last edited 2013-07-12 11:11:17 by SteveLudtke)