Actions
Bug #1286
closedDiscontinue use of Eman boxer within Appion
Status:
Closed
Priority:
Normal
Assignee:
Category:
Python scripting
Target version:
Start date:
05/05/2011
Due date:
% Done:
0%
Estimated time:
Affected Version:
Pre-2.0
Show in known bugs:
No
Workaround:
Description
Stop using EMAN boxer and instead write our own python code for particle selection and rotation in Appion.
From Neil, Issue #1056:
I think it is time to drop EMAN boxer and just do it in python. It would be so much cleaner...
For each image: image = mrc.read(...) rotated = scipy.ndimage.rotate(image, angle=##, reshape=False, order=1) partlist = [] For each particle: part = rotate[x1':x2',y1':y2'] #note: rotated coordinate system, x2' = x1' + boxsize partlist.append(part) apImagicFile.writeImagic(partlist, image1stack) apImagicFile.mergeStacks(image1stack, image2stack, ...)
and then (1) skip the whole proc2d/batchboxer non-sense, (2) do it in one pass, and (3) it would be much faster.
Updated by Neil Voss over 13 years ago
- Status changed from New to Assigned
- Assignee set to Neil Voss
Updated by Neil Voss over 13 years ago
- Tracker changed from Task to Bug
- Affected Version set to Appion/Leginon 2.1.0
- Show in known bugs set to No
Updated by Neil Voss over 13 years ago
- Category set to Python scripting
- Target version set to Appion/Leginon 2.2.0
- Affected Version changed from Appion/Leginon 2.1.0 to Pre-2.0
Updated by Neil Voss over 13 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Neil Voss to Gabriel Lander
Code review: just look at r15926 and the file source:trunk/appion/appionlib/apBoxer.py which is all new.
Updated by Gabriel Lander over 12 years ago
- Status changed from In Code Review to Closed
been working fine for a long time now.
Actions