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

BLEND

BLEND

Name


      BLEND

Purpose


      Sets up weighting array for blending arrays together.

Category


Calling Sequence


      WT = BLEND(N,I1,I2)

Inputs


      N = size of array to make. in
      I1, I2 = indices of first and last values to blend. in

Keyword Parameters


Outputs


      WT = weighting array. out
          WT(0:I1) = 0
          WT(I1:I2) = cosine shaped weighting from 0 to 1.
          WT(I2:*) = 1

Common Blocks


Notes


      Notes: to blend arrays A and B: A*(1-WT) + B*WT
        starts with pure A and ends with pure B.

Modification History


      Written by R. Sterner 6 Jan, 1986.
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
      Johns Hopkins University Applied Physics Laboratory.
  Copyright (C) 1986, 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