Index Page
cspice_wnfild
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_WNFILD fills small gaps between adjacent intervals of
   a double precision window.

I/O


   Given:

      sml      limiting measure of the small gaps to fill. Adjacent intervals
               separated by gaps of measure less than or equal to 'sml' are
               merged.

               [1,1] = size(sml); double = class(sml)

      window   SPICE window containing zero or more intervals.

               [2n,1] = size(window); double = class(window)

   the call:

      window_f = cspice_wnfild( sml, window )

   returns:

      window_f   SPICE window containing zero or more intervals, representing
                 the original 'window', after adjacent intervals separated by
                 'sml' gaps have been merged. 'window_f' may overwrite
                 'window'.

                 [2n,1] = size(window_f); double = class(window_f)

Examples


   Any numerical results shown for this example may differ between
   platforms as the results depend on the SPICE kernels used as input
   and the machine specific arithmetic implementation.

      %
      % Let 'window' expand the intervals
      %
      window = [ [ 1; 3 ]; [ 7; 11 ]; [ 23; 27 ]; [ 29; 29 ]; ];

      %
      % Apply the following series of calls
      %
      window = cspice_wnfild(  1, window )
      window = cspice_wnfild(  2, window )
      window = cspice_wnfild(  3, window )
      window = cspice_wnfild( 10, window )

   MATLAB outputs:

      window =

           1
           3
           7
          11
          23
          27
          29
          29

      Representing the intervals:

         [ 1,  3 ]  [ 7, 11 ]  [ 23, 27 ]  [ 29, 29 ]

      window =

           1
           3
           7
          11
          23
          29

      Representing the intervals:

         [ 1,  3 ]  [ 7, 11 ]  [ 23, 29 ]

      window =

           1
           3
           7
          11
          23
          29

      Representing the intervals:

         [ 1,  3 ]  [ 7, 11 ]  [ 23, 29 ]

      window =

           1
          11
          23
          29

      Representing the intervals:

         [ 1, 11 ]  [ 23, 29 ]

Particulars


   None.

Required Reading


   For important details concerning this module's function, please refer to
   the CSPICE routine wnfild_c.

   MICE.REQ
   WINDOWS.REQ

Version


   -Mice Version 1.0.2, 12-MAR-2012, EDW (JPL), SCK (JPL)

      Edited I/O section to conform to NAIF standard for Mice documentation.

   -Mice Version 1.0.1, 11-SEP-2008, EDW (JPL)

       Edit to I/O return value description.

   -Mice Version 1.0.0, 24-JUL-2007, EDW (JPL)

Index_Entries


   fill small gaps in a d.p. window


Wed Apr  5 18:00:36 2017