John Hunter wrote: >>>>>> "Paul" == Paul Cristini <[EMAIL PROTECTED]> writes: >>>>>> > > Paul> Hi everybody, I am trying to perform interpolation on 2d > Paul> data ( irregular or not) and I am wondering if there is a > Paul> way to get the interpolated results which are obtained with > Paul> the imshow command. This would allow a very complete > Paul> interpolation command with many options. The available > Paul> functions ( griddata, interp2d..) only provides few > Paul> possibilities for the interpolation process. > > They are not readily exposed (but with a little work can be accessed > using the existing framework) but I could write some helper methods to > make them more easily usable. > > What are your typical use cases. You do want to turn 2D grayscale > into interpolated 2D grayscale, or 2D->interpolated RGB[A] or RGBA -> > interpolated RGBA? > > The 2nd and 3rd cases can mostly be done with the existing tools, > though some helper methods would facilitate it. > > JDH >
There's also the scipy.ndimage (http://www.scipy.org/SciPyPackages/Ndimage - see the Interpolate section). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users