Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

src/a/g/agpy-0.1.3/agpy/fix_saturated.py   agpy(Download)
    submask  = newmask[yl:yh,xl:xh]
    subedges = np.sum(np.dstack(np.gradient(submask)),axis=2)
    smsubedges = AG_fft_tools.smooth(subedges)
    smsubWISEm = AG_fft_tools.smooth(subWISEm)
    #edgesmd = subWISEm.copy()

src/a/g/agpy-0.1.3/agpy/cubes.py   agpy(Download)
    numcores - pass to parallel_map (None = use all available)
    """
    from AG_fft_tools import smooth
    from contributed import parallel_map
 
    cubelist = [cube[ii,:,:] for ii in xrange(cube.shape[0])]
 
    Psmooth = lambda C: smooth(C,**kwargs)
 
    if parallel:

src/p/y/pyspeckit-HEAD/pyspeckit/cubes/cubes.py   pyspeckit(Download)
from pyspeckit.specwarnings import warn
try:
    from AG_fft_tools import smooth
    from pyspeckit.parallel_map import parallel_map
    smoothOK = True
    cubelist = [cube[ii,:,:] for ii in xrange(cube.shape[0])]
 
    Psmooth = lambda C: smooth(C,**kwargs)
 
    if parallel:

src/i/m/image_registration-0.2/image_registration/tests/registration_testing.py   image_registration(Download)
 
    if unsharp_mask:
        from AG_fft_tools import smooth
        offsets = []
        for ii in progress(xrange(nfits)):
            inim = image-smooth(image,smoothfactor)
            offim = make_offset_extended(image, xsh, ysh, noise=noise, **kwargs)
            offim -= smooth(offim,smoothfactor)