Actions
Bug #749
closedpyami cross_correlate does not work on rectangular images
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Pyami
Target version:
Start date:
07/19/2010
Due date:
% Done:
0%
Estimated time:
Affected Version:
Pre-2.0
Show in known bugs:
No
Workaround:
Description
broken code:
pc=correlator.cross_correlate(binned1,binned2) peak = peakfinder.findSubpixelPeak(pc, lpf=0.0) subpixpeak = peak['subpixel peak'] shift=correlator.wrap_coord(subpixpeak, pc.shape) peak['scalefactor'] = dimension2/float(dimension1) peak['shift'] = numpy.array((shift[0]*shrinkfactor1, shift[1]*shrinkfactor1))
Actions