[AstroPy] python equivalent to IDL routine smooth

Michael S. Kelley msk at astro.umd.edu
Fri Jul 23 16:18:29 EDT 2010


Hi Jon,

Although I haven't tried it with 3D smoothing,
scipy.ndimage.uniform_filter() might be able to do it.

Cheers,
Mike Kelley

On 7/23/10 4:07 PM, Jonathan Slavin wrote:
> Does anyone know of a python equivalent to the IDL routine smooth?  I
> know about the scipy routines convolve and convolve2d, but I need to do
> it 3-D. (Also, using convolve2d gave me strange results.)
> 
> My goal is to smooth a noisy 3-D dataset.  A simple boxcar type
> smoothing would be okay.
> 
> Jon Slavin 

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Michael S Kelley
University of Maryland -- College Park
301-405-3796


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/astropy/attachments/20100723/66055df9/attachment.sig>


More information about the AstroPy mailing list