Changeset 29540 for trunk/Ohana/src/opihi/cmd.data
- Timestamp:
- Oct 25, 2010, 12:50:29 PM (16 years ago)
- 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 102 102 $(SRC)/read_vectors.$(ARCH).o \ 103 103 $(SRC)/rebin.$(ARCH).o \ 104 $(SRC)/resize.$(ARCH).o \ 104 $(SRC)/reindex.$(ARCH).o \ 105 $(SRC)/resize.$(ARCH).o \ 105 106 $(SRC)/relocate.$(ARCH).o \ 106 107 $(SRC)/roll.$(ARCH).o \ -
trunk/Ohana/src/opihi/cmd.data/center.c
r21060 r29540 16 16 if (!GetImage (NULL, &kapa, name)) return (FALSE); 17 17 FREE (name); 18 19 // XXX need an option to center the image based on the current plot limits 18 20 19 21 if ((argc != 3) && (argc != 4)) { -
trunk/Ohana/src/opihi/cmd.data/init.c
r29001 r29540 91 91 int rebin PROTO((int, char **)); 92 92 int resize PROTO((int, char **)); 93 int reindex PROTO((int, char **)); 93 94 int relocate PROTO((int, char **)); 94 95 int roll PROTO((int, char **)); … … 232 233 {1, "read", read_vectors, "read vectors from datafile"}, 233 234 {1, "rebin", rebin, "rebin image data by factor of N"}, 235 {1, "reindex", reindex, "create new vector from old vector based on index vector"}, 234 236 {1, "resize", resize, "set graphics/image window size"}, 235 237 {1, "relocate", relocate, "set graphics/image window position"}, -
trunk/Ohana/src/opihi/cmd.data/limits.c
r13479 r29540 24 24 if (!GetGraph (&graphmode, &kapa, name)) return (FALSE); 25 25 FREE (name); 26 27 // XXX need an option to set the limits based on the current image bounds 26 28 27 29 if (argc == 1) { -
trunk/Ohana/src/opihi/cmd.data/read_vectors.c
r27435 r29540 216 216 217 217 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 219 226 Nbytes = gfits_data_size (&header); 220 227 -
trunk/Ohana/src/opihi/cmd.data/svd.c
r27185 r29540 82 82 } 83 83 84 # if 085 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); 86 86 fprintf (stderr, "status: %d\n", status); 87 87 # else
Note:
See TracChangeset
for help on using the changeset viewer.
