This is a mapping of EMAN1 EMData methods to EMAN2 so old scripts can be updated.








.do_fft or .do_fft_inplace




Not necessary, no FFT caching


.get_attr("mean") or .get_attr_dict()mean


.calc_min_index or .calc_min_location()


.read_image or EMData(path,n) constructor






.rot_scale_trans, .rot_scale_trans2D, others. see Transform class


no equivalent




no equivalent




see .Mean()













.set_complex, note new constructor EMData(nx,ny,nz,real=1) if real=0 image will be complex



EMAN1To2Translation (last edited 2010-03-27 00:26:03 by jgalaz)