IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2025, 4:33:16 PM (8 months ago)
Author:
eugene
Message:

add spline option to extrapolate (vs saturate); add vweave function (like drizzle for a vector)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/opihi/cmd.data/test/spline.sh

    r41341 r42946  
    11
    22macro test1
    3 
    43  for i 0 100
    54    create x 0 50
     
    109  end
    1110end
     11
     12macro mytest.saturate
     13  vlist x 400 500  600  700  800  900
     14  vlist y  15 425  610  700  745  775
     15
     16  spline create t1 x y
     17
     18  create X 300 1000 5
     19  spline apply t1 X Y
     20
     21  lim X Y; clear; box; plot x y; plot -c red -x line X Y
     22end
     23 
     24macro mytest.extrapolate
     25  vlist x 400 500  600  700  800  900
     26  vlist y  15 425  610  700  745  775
     27
     28  spline create t1 x y
     29
     30  create X 300 1000 5
     31  spline apply t1 X Y -extrapolate
     32
     33  lim X Y; clear; box; plot x y; plot -c red -x line X Y
     34end
     35 
Note: See TracChangeset for help on using the changeset viewer.