|
From: John H. <jdh...@ac...> - 2007-01-26 16:14:46
|
>>>>> "Jay" == Jay Parlar <pa...@gm...> writes:
Jay> One issue might be the use of "minAmp" and "maxAmp" in the
Jay> Matlab code, and no equivalent in the Python. I thought maybe
Jay> the vmin/vmax arguments to 'imshow' might work, but they
Jay> don't make much of a difference.
vmin and vmax do scale the image -- if they do not appear to make a
difference you are probably choosing improper ranges.
Jay> For all I know, this could be a scipy issue, and not a
Jay> matplotlib one, but I thought I'd start at the top and work
Jay> my way down.
I suggest you start at the bottom and work your way up, and inspect
the results of fftshift in matlab and scipy. imshow doesn't do all
that much, so if you are seeing big differences it is more likely in
my opinion that you are feeding in different values.
JDH
|