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

ENVELOPE

ENVELOPE

Name


      ENVELOPE

Purpose


      Return the min/max envelope of a time series.

Category


Calling Sequence


      envelope, y, w, mn, mx, ind

Inputs


      y = time series signal. in
      w = window width in samples. in

Keyword Parameters


Outputs


      mn = array of mins in each window. out
      mx = array of maxes in each window. out
      ind = array of window midpoint indices. out

Common Blocks


Notes


      Notes: data type of mn and mx are the same as
        input array y.
        To overplot envelope do:
          oplot,ind,mn & oplot,ind,mx
        To polyfill the envelope do:
          polyfill, [ind,reverse(ind)],[mn,reverse(mx)]

Modification History


      R. Sterner, 19 Sep, 1991
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1991, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us