Changeset 21500
- Timestamp:
- Feb 16, 2009, 11:15:58 AM (17 years ago)
- Location:
- branches/eam_branch_20090208/Ohana/src/opihi/cmd.data
- Files:
-
- 5 added
- 5 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090208/Ohana/src/opihi/cmd.data/Makefile
r17579 r21500 20 20 $(SRC)/accum.$(ARCH).o \ 21 21 $(SRC)/applyfit2d.$(ARCH).o \ 22 $(SRC)/applyfit .$(ARCH).o \22 $(SRC)/applyfit1d.$(ARCH).o \ 23 23 $(SRC)/box.$(ARCH).o \ 24 24 $(SRC)/book.$(ARCH).o \ … … 26 26 $(SRC)/center.$(ARCH).o \ 27 27 $(SRC)/clear.$(ARCH).o \ 28 $(SRC)/ clip.$(ARCH).o \28 $(SRC)/imclip.$(ARCH).o \ 29 29 $(SRC)/close.$(ARCH).o \ 30 30 $(SRC)/concat.$(ARCH).o \ … … 44 44 $(SRC)/fft1d.$(ARCH).o \ 45 45 $(SRC)/fft2d.$(ARCH).o \ 46 $(SRC)/fit1d.$(ARCH).o \ 46 47 $(SRC)/fit2d.$(ARCH).o \ 47 $(SRC)/fit.$(ARCH).o \48 48 $(SRC)/gaussj.$(ARCH).o \ 49 49 $(SRC)/gaussdeviate.$(ARCH).o \ … … 107 107 $(SRC)/spline_apply.$(ARCH).o \ 108 108 $(SRC)/spline_construct.$(ARCH).o \ 109 $(SRC)/ stats.$(ARCH).o\109 $(SRC)/imstats.$(ARCH).o \ 110 110 $(SRC)/style.$(ARCH).o \ 111 111 $(SRC)/subraster.$(ARCH).o \ … … 131 131 $(SRC)/vroll.$(ARCH).o \ 132 132 $(SRC)/vsmooth.$(ARCH).o \ 133 $(SRC)/vstat .$(ARCH).o \133 $(SRC)/vstats.$(ARCH).o \ 134 134 $(SRC)/wd.$(ARCH).o \ 135 135 $(SRC)/write_vectors.$(ARCH).o \ -
branches/eam_branch_20090208/Ohana/src/opihi/cmd.data/init.c
r21408 r21500 3 3 int accum PROTO((int, char **)); 4 4 int applyfit PROTO((int, char **)); 5 int applyfit1d PROTO((int, char **)); 5 6 int applyfit2d PROTO((int, char **)); 6 7 int box PROTO((int, char **)); … … 11 12 int clear PROTO((int, char **)); 12 13 int clip PROTO((int, char **)); 14 int imclip PROTO((int, char **)); 13 15 int close_device PROTO((int, char **)); 14 16 int concat PROTO((int, char **)); … … 29 31 int fft1d PROTO((int, char **)); 30 32 int fft2d PROTO((int, char **)); 33 int fit PROTO((int, char **)); 34 int fit1d PROTO((int, char **)); 31 35 int fit2d PROTO((int, char **)); 32 int fit PROTO((int, char **));33 36 int gaussjordan PROTO((int, char **)); 34 37 int gaussdeviate PROTO((int, char **)); … … 92 95 int spline_construct_cmd PROTO((int, char **)); 93 96 int stats PROTO((int, char **)); 97 int imstats PROTO((int, char **)); 94 98 int style PROTO((int, char **)); 95 99 int subraster PROTO((int, char **)); … … 113 117 int vload PROTO((int, char **)); 114 118 int vzload PROTO((int, char **)); 115 int vstat PROTO((int, char **));119 int vstats PROTO((int, char **)); 116 120 int vroll PROTO((int, char **)); 117 121 int vpop PROTO((int, char **)); … … 124 128 static Command cmds[] = { 125 129 {1, "accum", accum, "accumulate vector values in another vector"}, 126 {1, "applyfit", applyfit, "apply fit to new vector"}, 130 {1, "applyfit", applyfit1d, "apply 1-d fit to new vector"}, 131 {1, "applyfit1d", applyfit1d, "apply 1-d fit to new vector"}, 127 132 {1, "applyfit2d", applyfit2d, "apply 2-d fit to new vector"}, 133 {1, "book", book_command, "commands to manipulate book/page/word data"}, 128 134 {1, "box", box, "draw a box on the plot"}, 129 {1, "book", book_command, "commands to manipulate book/page/word data"}, 135 {1, "buffers", list_buffers, "list the currently allocated buffers (images)"}, 136 {1, "images", list_buffers, "list the currently allocated images"}, 130 137 {1, "center", center, "center image on coords"}, 131 {1, "parity", parity, "set image parity"},132 138 {1, "circstats", circstats, "circular statistics"}, 133 139 {1, "clear", clear, "erase plot"}, 134 {1, "clip", clip, "clip values in a bufferto be within a range"},140 {1, "clip", imclip, "clip values in an image to be within a range"}, 135 141 {1, "close", close_device, "close the current display device"}, 136 {1, "concat", concat, " reduce vector dimension"},142 {1, "concat", concat, "append values to the end of a vector"}, 137 143 {1, "contour", contour, "create contour from image"}, 138 144 {1, "create", create, "create a new vector"}, 145 {1, "vcreate", create, "create a new vector"}, 139 146 {1, "cumulative", cumulative, "build a cumulative histogram from a specific histogram"}, 140 147 {1, "cursor", cursor, "get coords from cursor"}, … … 143 150 {1, "dbconnect", dbconnect, "setup mysql db connection"}, 144 151 {1, "dbselect", dbselect, "extract vectors from mysql database table"}, 145 {1, "delete", delete, "delete vectors or matrices"},152 {1, "delete", delete, "delete vectors or images"}, 146 153 {1, "device", device, "set / get current graphics device"}, 147 {1, "dimendown", dimendown, "convert matrix to vector"}, 148 {1, "dimenup", dimenup, "convert vector to matrix"}, 149 {1, "erase", erase, "erase objects on an overlay"}, 150 {1, "extract", extract, "extract a portion of a buffer into another buffer"}, 151 {1, "fft1d", fft1d, "fft on the pixel-stream in an image"}, 154 {1, "dimendown", dimendown, "convert image to vector"}, 155 {1, "dimenup", dimenup, "convert vector to image"}, 156 {1, "dot", dot, "plot a single point"}, 157 {1, "erase", erase, "erase objects on an image overlay"}, 158 {1, "extract", extract, "extract a portion of a image into another image"}, 159 {1, "fft1d", fft1d, "fft on a vector"}, 152 160 {1, "fft2d", fft2d, "fft on an image"}, 153 {1, "fit", fit, "fit polynomial to vector pair"}, 161 {1, "fit", fit1d, "fit polynomial to vector pair"}, 162 {1, "fit1d", fit1d, "fit polynomial to vector pair"}, 154 163 {1, "fit2d", fit2d, "fit 2-d polynomial to vector triplet"}, 155 {1, "gaussj", gaussjordan, "solve Ax = B (N-D)"},156 164 {1, "gaussdev", gaussdeviate, "generate a gaussian deviate vector"}, 157 165 {1, "gaussint", gaussintegral, "return the integrated gaussian vector"}, 158 {1, "grid", grid, "plot cartesian grid"}, 159 {1, "gridify", gridify, "convert vector triplet to buffer"}, 166 {1, "gaussj", gaussjordan, "solve Ax = B (N-Dimensional)"}, 167 {1, "grid", grid, "plot cartesian grid on graph"}, 168 {1, "gridify", gridify, "convert vector triplet to image (same as vgrid?)"}, 160 169 {1, "grow", grow, "grow a mask"}, 161 {1, "ungridify", ungridify, "convert buffer region to vector triplet"}, 162 {1, "header", header, "print buffer header"}, 170 {1, "header", header, "print image header"}, 163 171 {1, "histogram", histogram, "generate histogram from vector"}, 172 {1, "imbin", rebin, "rebin image data by factor of N"}, 173 {1, "imclip", imclip, "clip values in an image to be within a range"}, 164 174 {1, "imcut", imcut, "linear image cut between arbitrary coords"}, 165 {1, "imhist ",imhist, "histogram of an image region"},175 {1, "imhistogram", imhist, "histogram of an image region"}, 166 176 {1, "imsmooth", imsmooth, "circular gaussian smoothing"}, 177 {1, "imstats", imstats, "statistics on a portion of an image"}, 167 178 {1, "integrate", integrate, "integrate a vector"}, 168 179 {1, "interpolate", interpolate, "interpolate between vector pairs"}, 169 {1, "jpeg", jpeg, "write text line on graph"}, 170 {1, "png", jpeg, "write text line on graph"}, 171 {1, "ppm", jpeg, "write text line on graph"}, 180 {1, "jpeg", jpeg, "convert display image to JPEG"}, 172 181 {1, "kern", kern, "convolve with 3x3 kernel"}, 173 {1, "keyword", keyword, "extract a FITS keyword from bufferheader"},182 {1, "keyword", keyword, "extract a FITS keyword from image header"}, 174 183 {1, "labels", labels, "define labels for plot"}, 175 184 {1, "limits", limits, "define plot limits"}, 176 {1, "line", line, "plot line"}, 177 {1, "buffers", list_buffers, "list the currently allocated buffers"}, 178 {1, "vectors", list_vectors, "list vectors"}, 179 {1, "load", load, "load an SAOimage style overlay"}, 185 {1, "line", line, "plot a line"}, 186 {1, "load", load, "load an SAOimage/DS9 style overlay"}, 180 187 {1, "lookup", lookup, "convert vector via lookup table (vector pair)"}, 181 {1, "m krgb", mkrgb, "convert 3 images to rgb jpeg"},182 {1, " mcreate", mcreate, "create a matrix"},188 {1, "mcreate", mcreate, "create an image"}, 189 {1, "imcreate", mcreate, "create an image"}, 183 190 {1, "medacc", medacc, "accumulate vector values in another vector"}, 184 {1, "mget", mget, "extract a vector from a matrix"}, 191 {1, "mget", mget, "extract a vector from an image"}, 192 {1, "imget", mget, "extract a vector from an image"}, 185 193 {1, "minterp", minterp, "interpolate image pixels"}, 186 {1, "mset", mset, "insert a vector in a matrix"}, 194 {1, "iminterp", minterp, "interpolate image pixels"}, 195 {1, "mkrgb", mkrgb, "convert 3 images to rgb jpeg (use Kapa for better control)"}, 196 {1, "imset", mset, "insert a vector in an image"}, 197 {1, "parity", parity, "set image parity"}, 187 198 {1, "peak", peak, "find vector peak in range"}, 188 199 {1, "periodogram", periodogram, "measure periods in unevenly sampled data"}, 189 200 {1, "plot", plot, "plot a pair of vectors"}, 190 {1, "dot", dot, "plot a single point"}, 191 {1, "point", point, "load overlay with single point"}, 192 {1, "ps", ps, "define labels for plot"}, 201 {1, "png", jpeg, "convert display graphic to PNG"}, 202 {1, "point", point, "load image overlay with a single point"}, 203 {1, "ppm", jpeg, "convert display graphic to PPM"}, 204 {1, "ps", ps, "convert display to PostScript"}, 205 {1, "queuedelete", queuedelete, "delete a queue"}, 206 {1, "queuedrop", queuedrop, "drop values from queue matching a key"}, 207 {1, "queueinit", queueinit, "create an empty queue"}, 208 {1, "queuelist", queuelist, "list defined queues"}, 209 {1, "queueload", queueload, "load queue from command"}, 193 210 {1, "queuepop", queuepop, "pop value from queue to variable"}, 194 {1, "queuedrop", queuedrop, "drop values from queue matching a key"},195 211 {1, "queueprint", queueprint, "print the contents of a queue"}, 196 212 {1, "queuepush", queuepush, "push value onto queue"}, 197 {1, "queueinit", queueinit, "create an empty queue"}, 198 {1, "queuedelete", queuedelete, "delete a queue"}, 199 {1, "queuelist", queuelist, "list defined queues"}, 200 {1, "queueload", queueload, "load queue from command"}, 213 {1, "queuesize", queuesize, "show queue size"}, 201 214 {1, "queuesubstr", queuesubstr, "bulk replace strings in queue"}, 202 {1, "queuesize", queuesize, "show queue size"},203 215 {1, "rd", rd, "load fits image"}, 204 216 {1, "rdseg", rdseg, "read a segment of an image from a file"}, 205 217 {1, "read", read_vectors, "read vectors from datafile"}, 206 {1, "rebin", rebin, "rebin data by factor of N"},218 {1, "rebin", rebin, "rebin image data by factor of N"}, 207 219 {1, "resize", resize, "set graphics/image window size"}, 208 220 {1, "roll", roll, "roll image to new start point"}, 209 221 {1, "rotate", rotate, "rotate image"}, 210 {1, "save", save, "save an SAOimage style overlay"},222 {1, "save", save, "save an SAOimage style image overlay"}, 211 223 {1, "section", section, "define section of graph"}, 212 {1, "set", set, "vector math"}, 224 {1, "select", vect_select, "selective vector assignment"}, 225 {1, "set", set, "image and vector math"}, 213 226 {1, "shift", shift, "shift data in an image"}, 214 227 {1, "sort", sort_vectors, "sort list of vectors"}, 215 228 {1, "spline.apply", spline_apply_cmd, "apply spline fit to generate an image"}, 216 229 {1, "spline.const", spline_construct_cmd, "create spline 2nd deriv. terms"}, 217 {1, "stats", stats, "give statistics on a portion of a buffer"},230 {1, "stats", imstats, "statistics on a portion of an image"}, 218 231 {1, "style", style, "set the style for graph plots"}, 219 232 {1, "subraster", subraster, "subraster of fits image"}, 220 {1, "subset", subset, " expand vector dimension"},221 {1, "svd", svd, "singular value decomposition of a matrix "},233 {1, "subset", subset, "generate a vector from a portion of another vector"}, 234 {1, "svd", svd, "singular value decomposition of a matrix (image)"}, 222 235 {1, "swapbytes", swapbytes, "byte swap thing"}, 223 236 {1, "textline", textline, "write text line on graph"}, … … 225 238 {1, "tvchannel", tvchannel, "set the current tv channel"}, 226 239 {1, "tvcolors", tvcolors, "set the tv colormap"}, 227 {1, "tvcontour", tvcontour, "send contour to overlay"}, 228 {1, "tvgrid", tvgrid, "wait until return is typed"}, 240 {1, "tvcontour", tvcontour, "send contour to image overlay"}, 241 {1, "tvgrid", tvgrid, "RA/DEC grid on an image"}, 242 {1, "ungridify", ungridify, "convert image region to vector triplet"}, 229 243 {1, "uniq", uniq, "create a uniq vector subset from a vector"}, 230 244 {1, "unsign", unsign, "toggle the UNSIGN status"}, 231 {1, "vbin", vbin, " bin values in a vector to be within a range"},245 {1, "vbin", vbin, "rebin vector data by a fector of N"}, 232 246 {1, "vclip", vclip, "clip values in a vector to be within a range"}, 233 {1, "select", vect_select, "selective vector assignment"}, 234 {1, "vgauss", vgauss, ""}, 235 {1, "vmaxwell", vmaxwell, ""}, 236 {1, "vgrid", vgrid, ""}, 237 {1, "vload", vload, "load vectors on Kii"}, 238 {1, "vzload", vzload, "load vectors on Kii"}, 239 {1, "vstat", vstat, "get info from imreg database"}, 240 {1, "vsmooth", vsmooth, "gaussian smooth of a vector"}, 247 {1, "vectors", list_vectors, "list vectors"}, 248 {1, "vgauss", vgauss, "fit a Gaussian to a vector"}, 249 {1, "vgrid", vgrid, "generate an image from a triplet of vectors"}, 250 {1, "vhistogram", histogram, "generate histogram from vector"}, 251 {1, "vload", vload, "load vectors as overlay on image display"}, 252 {1, "vmaxwell", vmaxwell, "fit a Maxwellian to a vector"}, 253 {1, "vpop", vpop, "remove first element of a vector"}, 241 254 {1, "vroll", vroll, "roll vector elements"}, 242 {1, "vpop", vpop, "remove first element"}, 255 {1, "vsmooth", vsmooth, "Gaussian smooth of a vector"}, 256 {1, "vstats", vstats, "statistics on a vector"}, 257 {1, "vzload", vzload, "load vectors as overlay on image display (scaled points)"}, 243 258 {1, "wd", wd, "write an image to a file"}, 244 259 {1, "write", write_vectors, "write vectors to datafile"}, 245 {1, "zap", zap, " delete pixels"},260 {1, "zap", zap, "assign values to pixel regions"}, 246 261 {1, "zplot", zplot, "plot x y with size scaled by z"}, 247 262 };
Note:
See TracChangeset
for help on using the changeset viewer.
