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

Location:
trunk/Ohana/src/opihi/cmd.data
Files:
3 edited

Legend:

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

    r16117 r16119  
    8787int shift            PROTO((int, char **));
    8888int sort_vectors     PROTO((int, char **));
    89 int spline_apply    PROTO((int, char **));
    90 int spline_construct PROTO((int, char **));
     89int spline_apply_cmd PROTO((int, char **));
     90int spline_construct_cmd PROTO((int, char **));
    9191int stats            PROTO((int, char **));
    9292int style            PROTO((int, char **));
     
    208208  {"shift",        shift,            "shift data in an image"},
    209209  {"sort",         sort_vectors,     "sort list of vectors"},
    210   {"spline.apply", spline_apply,    "apply spline fit to generate an image"},
    211   {"spline.const", spline_construct, "create spline 2nd deriv. terms"},
     210  {"spline.apply", spline_apply_cmd, "apply spline fit to generate an image"},
     211  {"spline.const", spline_construct_cmd, "create spline 2nd deriv. terms"},
    212212  {"stats",        stats,            "give statistics on a portion of a buffer"},
    213213  {"style",        style,            "set the style for graph plots"},
  • 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  }
  • trunk/Ohana/src/opihi/cmd.data/spline_construct.c

    r7917 r16119  
    11# include "data.h"
    22
    3 int spline_construct (int argc, char **argv) {
     3// need to rename this as an image function
     4int spline_construct_cmd (int argc, char **argv) {
    45 
    56  int i, j, Nx, Ny, xdir;
     
    5455    }
    5556 
    56     spline (Tx, Ty, Ny, Ty2);
     57    spline_construct (Tx, Ty, Ny, Ty2);
    5758 
    5859    /* copy derivatives to output buffer */
Note: See TracChangeset for help on using the changeset viewer.