Differences between revisions 2 and 3
Revision 2 as of 2008-01-22 17:34:16
Size: 1603
Editor: SteveLudtke
Comment:
Revision 3 as of 2008-01-22 17:36:33
Size: 1712
Editor: SteveLudtke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
i.split() -> i.split(",") if you have a comma delimited file, or
imgs[i].setRAlign(value)  and
imgs[i].rotateAndTranslate() if you want to do rotation and translation in one step
{{{i.split() -> i.split(",")}}}
if you have a comma delimited file, or
{{{imgs[i].setRAlign(value)
imgs[i].rotateAndTranslate()}}} if you want to do rotation and translation in one step
Line 28: Line 29:
the indentation after the 'for' line is very important. the indentation after the 'for' line is very important. It doesn't matter how much you indent as long
as all of the lines are indented by the same amount.

Q: I would like to shift a stack of particles according to a x,y document (whole integers to avoid interpolation), and I wonder if it is possible with eman ?

A: This isn't how EMAN usually does things, so none of the canned command-line programs will do this, but this simple script should do:

EMAN1/FAQ/TranslateParticles (last edited 2008-11-26 04:42:29 by localhost)