Differences between revisions 4 and 5
Revision 4 as of 2008-02-03 17:50:49
Size: 561
Comment:
Revision 5 as of 2008-02-03 17:51:51
Size: 562
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
In [10]: e.mult(10) In [10]: e.mult(2.5)

[someone@localhost]$ e2.py

Welcome to EMAN2
Prompt provided by IPython
Enter '?' for ipython help

In [3]:  e = EMData()

In [4]:  e.set_size(32,32,32)

In [5]:  f = e.copy()

In [5]:  e.process_inplace('testimage.axes')

or try e.process_inplace('testimage.scurve') or e.process_inplace('testimage.gradient')

In [6]:  t = Transform3D(90,30,90)

In [7]:  t.set_posttrans(1,-2,5)

In [8]:  t.set_pretrans(2,10,-20)

In [9]:  e.rotate_translate(t)

In [10]: e.mult(2.5)

In [11]: g = f + e

In [12]: display(g)

EMAN2/Tutorials/AddAndMultiply (last edited 2009-03-06 17:36:06 by DavidWoolford)