IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2008, 1:21:51 PM (19 years ago)
Author:
eugene
Message:

removing Press code

File:
1 edited

Legend:

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

    r7917 r16119  
    11# include "data.h"
    22
    3 void spline (float *x, float *y, int N, float *y2);
    4 float splint (float *x, float *y, float *y2, int N, float X);
    5 
    6 int spline_apply (int argc, char **argv) {
     3// need to rename this as an image function
     4int spline_apply_cmd (int argc, char **argv) {
    75 
    86  int i, j, I, J;
     
    7775        Ty2[j] = *V2;
    7876      }
    79       Tx1[i] = splint (Tyc, Ty1, Ty2, Ny, y);
     77      Tx1[i] = spline_apply (Tyc, Ty1, Ty2, Ny, y);
    8078    }
    81     spline (Txc, Tx1, Nx, Tx2);
     79    spline_construct (Txc, Tx1, Nx, Tx2);
    8280
    8381    /* apply x-dir spline to new image */
    8482    for (I = 0; I < nx; I++, V++) {
    8583      x = I * rx;
    86       *V = splint (Txc, Tx1, Tx2, Nx, x);
     84      *V = spline_apply (Txc, Tx1, Tx2, Nx, x);
    8785    }
    8886  }
Note: See TracChangeset for help on using the changeset viewer.