>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  SMOOTH2

SMOOTH2

SMOOTH2

Name


      SMOOTH2

Purpose


      Do multiple smoothing. Gives near Gaussian smoothing.

Category


Calling Sequence


      b = smooth2(a, w)

Inputs


      a = array to smooth (1,2, or 3-d). in
      w = smoothing window size. in

Keyword Parameters


Keywords


        /FILL_ENDS fill end effects (1-d or 2-d only).
          This replaces values on the edges with the last
          completely smoothed value. This may be a larger
          area than expected.

Outputs


      b = smoothed array. out

Common Blocks


Notes


      Note: Smooths twice with the given smoothing width, then
        twice again width half that width.

Modification History


      R. Sterner. 8 Jan, 1987.
      Johns Hopkins University Applied Physics Laboratory.
      RES 14 Jan, 1987 --- made both 2-d and 1-d.
      RES 30 Aug, 1989 --- converted to SUN.
      R. Sterner, 1994 Feb 22 --- cleaned up some.
      R. Sterner, 2006 Aug 18 --- Added keyword /FILL_ENDS.
      R. Sterner, 2006 Aug 20 --- Corrected to length to fill.
      R. Sterner, 2008 Mar 31 --- Limit width to > 1 (not 2).
      R. Sterner, 2008 Mar 31 --- Fixed fill for 2-d and non-square.
  Copyright (C) 1987, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us