>  Docs Center  >  Libraries  >  Buie  >  SSHIFT2D
Libraries

SSHIFT2D

SSHIFT2D

Name


    sshift2d

Purpose (one Line)


    Shift a 2-D array using a damped sinc function for the fractional part.

Description


Category


    Mathematical

Calling Sequence


    result = sshift2d( array, shiftvec )

Inputs


    array : Array to be shifted.
    shiftvec : Vector of two elements: [ xshift, yshift ].

Optional Input Parameters


Keyword Parameters


    EDGE_ZERO: Flag, if set will force the wrapped edges to zero.
   

Outputs


    The shifted array is returned as the function value.

Common Blocks


Side Effects


Restrictions


Procedure


Modification History


    February, 1993:
    Copied from "sincshift.pro" written by John Spencer, Lowell Observatory.
    Very minor modifications by Doug Loucks, Lowell Observatory.
    2010/05/01, Florian Scheulen, Harvey Mudd College, added EDGE_ZERO keyword
    2010/05/05, MWB, style editing.



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