IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 10, 2020, 1:25:05 PM (6 years ago)
Author:
eugene
Message:

adding 2d gaussian moment stats

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

Legend:

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

    r41421 r41432  
    7575$(SRC)/imsmooth.generic.$(ARCH).o       \
    7676$(SRC)/imsmooth.2d.$(ARCH).o    \
     77$(SRC)/imconvolve.$(ARCH).o     \
    7778$(SRC)/integrate.$(ARCH).o      \
    7879$(SRC)/interpolate.$(ARCH).o    \
  • trunk/Ohana/src/opihi/cmd.data/init.c

    r41421 r41432  
    6464int imsmooth_generic PROTO((int, char **));
    6565int imsmooth_2d      PROTO((int, char **));
     66int imconvolve       PROTO((int, char **));
    6667int integrate        PROTO((int, char **));
    6768int interpolate      PROTO((int, char **));
     
    264265  {1, "imsmooth.generic", imsmooth_generic, "circular non-gaussian smoothing"},
    265266  {1, "imsmooth.2d",  imsmooth_2d,      "circular non-gaussian smoothing"},
     267  {1, "imconvolve",   imconvolve,       "full 2D real-space convolution"},
    266268  {1, "imstats",      imstats,          "statistics on a portion of an image"},
    267269  {1, "integrate",    integrate,        "integrate a vector"},
  • trunk/Ohana/src/opihi/cmd.data/read_vectors.c

    r41363 r41432  
    711711      if (!gfits_get_bintable_column_raw (outheader, outtable, argv[i], &data, IsCompressed)) ESCAPE ("error reading data from specified field\n");
    712712    } else {
    713       if (!gfits_get_table_column_type (outheader, argv[i], type)) ESCAPE ("requested field not found\n");
     713      if (!gfits_get_table_column_type (outheader, argv[i], type, &Nval)) ESCAPE ("requested field not found\n");
    714714      if (!gfits_get_table_column (outheader, outtable, argv[i], &data)) ESCAPE ("error reading data from specified field\n");
    715715    }
Note: See TracChangeset for help on using the changeset viewer.