IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2010, 12:50:29 PM (16 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20100823

Location:
trunk/Ohana/src/opihi/cmd.data
Files:
6 edited
1 copied

Legend:

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

    r29001 r29540  
    102102$(SRC)/read_vectors.$(ARCH).o   \
    103103$(SRC)/rebin.$(ARCH).o          \
    104 $(SRC)/resize.$(ARCH).o \
     104$(SRC)/reindex.$(ARCH).o        \
     105$(SRC)/resize.$(ARCH).o         \
    105106$(SRC)/relocate.$(ARCH).o       \
    106107$(SRC)/roll.$(ARCH).o           \
  • trunk/Ohana/src/opihi/cmd.data/center.c

    r21060 r29540  
    1616  if (!GetImage (NULL, &kapa, name)) return (FALSE);
    1717  FREE (name);
     18
     19  // XXX need an option to center the image based on the current plot limits
    1820
    1921  if ((argc != 3) && (argc != 4)) {
  • trunk/Ohana/src/opihi/cmd.data/init.c

    r29001 r29540  
    9191int rebin            PROTO((int, char **));
    9292int resize           PROTO((int, char **));
     93int reindex          PROTO((int, char **));
    9394int relocate         PROTO((int, char **));
    9495int roll             PROTO((int, char **));
     
    232233  {1, "read",         read_vectors,     "read vectors from datafile"},
    233234  {1, "rebin",        rebin,            "rebin image data by factor of N"},
     235  {1, "reindex",      reindex,          "create new vector from old vector based on index vector"},
    234236  {1, "resize",       resize,           "set graphics/image window size"},
    235237  {1, "relocate",     relocate,         "set graphics/image window position"},
  • trunk/Ohana/src/opihi/cmd.data/limits.c

    r13479 r29540  
    2424  if (!GetGraph (&graphmode, &kapa, name)) return (FALSE);
    2525  FREE (name);
     26
     27  // XXX need an option to set the limits based on the current image bounds
    2628
    2729  if (argc == 1) {
  • trunk/Ohana/src/opihi/cmd.data/read_vectors.c

    r27435 r29540  
    216216
    217217    while (1) {
    218       if (!gfits_load_header (f, &header)) ESCAPE ("extension not found in file");
     218      if (!gfits_load_header (f, &header)) {
     219        gprint (GP_ERR, "extension %s not found in file\n", extname);
     220        if (CCDKeyword != NULL) free (CCDKeyword);
     221        gfits_free_table  (&table);
     222        gfits_free_header (&header);
     223        return (TRUE); 
     224      }
     225
    219226      Nbytes = gfits_data_size (&header);
    220227
  • trunk/Ohana/src/opihi/cmd.data/svd.c

    r27185 r29540  
    8282      }
    8383
    84 # if 0     
    85       status = svdcmp_bond_raw (Ny, Nx, 1, 1, FLT_EPSILON, 1e-6, a, q, u, v);
     84# if 1     
     85      status = svdcmp_bond_new (Ny, Nx, 1, 1, FLT_EPSILON, 1e-6, a, q, u, v);
    8686      fprintf (stderr, "status: %d\n", status);
    8787# else
Note: See TracChangeset for help on using the changeset viewer.