Project

General

Profile

Actions

Bug #1286

closed

Discontinue use of Eman boxer within Appion

Added by Lauren Fisher about 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
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.


Related issues 1 (0 open1 closed)

Related to Appion - Feature #1056: Nonorthogonal boxes for helical insert in Manual PickerClosedArne Moeller11/23/2010

Actions
Actions #1

Updated by Neil Voss almost 13 years ago

  • Status changed from New to Assigned
  • Assignee set to Neil Voss
Actions #2

Updated by Neil Voss almost 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
Actions #3

Updated by Neil Voss almost 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
Actions #4

Updated by Neil Voss almost 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.

Actions #5

Updated by Gabriel Lander almost 12 years ago

  • Status changed from In Code Review to Closed

been working fine for a long time now.

Actions

Also available in: Atom PDF