IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2026, 11:26:15 AM (4 months ago)
Author:
eugene
Message:

add spline options to extrapolate or saturate at end points; add vweave function to interpolate a vector with varying bin sizes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/spline_commands.c

    r42332 r42967  
    6262int spline_apply (int argc, char **argv) {
    6363
    64   int i;
     64  int i, N;
    6565  Vector *xvec, *yvec;
     66
     67  spline_contruct_mode (SPLINE_SATURATE);
     68  if ((N = get_argument (argc, argv, "-extrapolate"))) {
     69    spline_contruct_mode (SPLINE_EXTRAPOLATE);
     70    remove_argument (N, &argc, argv);
     71  }
    6672
    6773  if (argc != 4) {
Note: See TracChangeset for help on using the changeset viewer.