Size: 1603
Comment:
|
Size: 1712
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: