Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2007-02-27 22:13:09
Size: 36
Editor: SteveLudtke
Comment:
Revision 6 as of 2008-11-26 04:42:29
Size: 1144
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe EMAN1To2Translation here. This is a mapping of EMAN1 EMData methods to EMAN2 so old scripts can be updated.


||'''EMAN''' ||'''EMAN2''' ||
||.calcCCF ||.calc_ccf ||
||.copy ||.copy ||
||.doFFT ||.do_fft or .do_fft_inplace ||
||.EMData ||.EMData ||
||.gimmeFFT ||Not necessary, no FFT caching ||
||.Mean ||.get_attr("mean") or .get_attr_dict()[[mean]] ||
||.!MinLoc ||.calc_min_index or .calc_min_location() ||
||.readImage ||.read_image or EMData(path,n) constructor ||
||.realFilter ||.process or .process_inplace, dump_processors() ||
||.ri2ap ||.ri2ap ||
||.rotateAndTranslate || .rot_scale_trans, .rot_scale_trans2D, others. see Transform class ||
||.setRAlign ||no equivalent ||
||.setSize ||.set_size ||
||.setTAlign ||no equivalent ||
||.setValueAt ||.set_value_at ||
||.Sigma ||see .Mean() ||
||.toCorner ||.process_inplace("eman1.xform.fourierorigin") ||
||.update ||.update ||
||.valueAt ||.get_value_at ||
||.writeImage ||.write_image ||
||.x(y)(z)Size ||.get_(x,y,z)size ||
||.zero ||.to_zero ||
|| ||.set_complex, note new constructor EMData(nx,ny,nz,real=1) if real=0 image will be complex ||
|| ||.set_ri ||
|| ||.do_ift ||

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

EMAN

EMAN2

.calcCCF

.calc_ccf

.copy

.copy

.doFFT

.do_fft or .do_fft_inplace

.EMData

.EMData

.gimmeFFT

Not necessary, no FFT caching

.Mean

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

.MinLoc

.calc_min_index or .calc_min_location()

.readImage

.read_image or EMData(path,n) constructor

.realFilter

.process or .process_inplace, dump_processors()

.ri2ap

.ri2ap

.rotateAndTranslate

.rot_scale_trans, .rot_scale_trans2D, others. see Transform class

.setRAlign

no equivalent

.setSize

.set_size

.setTAlign

no equivalent

.setValueAt

.set_value_at

.Sigma

see .Mean()

.toCorner

.process_inplace("eman1.xform.fourierorigin")

.update

.update

.valueAt

.get_value_at

.writeImage

.write_image

.x(y)(z)Size

.get_(x,y,z)size

.zero

.to_zero

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

.set_ri

.do_ift

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