Changeset 39183
- Timestamp:
- Nov 21, 2015, 3:12:35 PM (11 years ago)
- Location:
- branches/eam_branches/ipp-20151113/Ohana/src/opihi
- Files:
-
- 1 added
- 4 edited
-
cmd.astro/Makefile (modified) (1 diff)
-
cmd.astro/init.c (modified) (2 diffs)
-
cmd.astro/region.c (modified) (1 diff)
-
cmd.astro/wcs.c (added)
-
dvo/imlist.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20151113/Ohana/src/opihi/cmd.astro/Makefile
r38062 r39183 74 74 $(SRC)/vshimage.$(ARCH).o \ 75 75 $(SRC)/shimage.$(ARCH).o \ 76 $(SRC)/wcs.$(ARCH).o \ 76 77 $(SRC)/imsub.$(ARCH).o \ 77 78 $(SRC)/imfit.$(ARCH).o \ -
branches/eam_branches/ipp-20151113/Ohana/src/opihi/cmd.astro/init.c
r38062 r39183 64 64 int vshimage PROTO((int, char **)); 65 65 int shimage PROTO((int, char **)); 66 int wcs PROTO((int, char **)); 66 67 67 68 static Command cmds[] = { … … 127 128 {1, "vshimage", vshimage, "generate images for vector spherical harmonic terms"}, 128 129 {1, "shimage", shimage, "generate images for spherical harmonic terms"}, 130 {1, "wcs", wcs, "set the wcs for the given image"}, 129 131 }; 130 132 -
branches/eam_branches/ipp-20151113/Ohana/src/opihi/cmd.astro/region.c
r39166 r39183 83 83 if ((argc != 4) && (argc != 5)) { 84 84 gprint (GP_ERR, "USAGE: region Ra Dec Radius [projection] [orientation]\n"); 85 gprint (GP_ERR, " [-image] [-ew] [+ew] [-ns] [+ns] [-no-clear] \n");85 gprint (GP_ERR, " [-image] [-ew] [+ew] [-ns] [+ns] [-no-clear] [-angle theta]\n"); 86 86 gprint (GP_ERR, " current: %f %f (%f x %f) (%s)\n", 87 87 graphmode.coords.crval1, graphmode.coords.crval2, -
branches/eam_branches/ipp-20151113/Ohana/src/opihi/dvo/imlist.c
r37807 r39183 21 21 } 22 22 23 int VERBOSE = TRUE; 24 if ((N = get_argument (argc, argv, "-quiet"))) { 25 VERBOSE = FALSE; 26 remove_argument (N, &argc, argv); 27 } 28 if ((N = get_argument (argc, argv, "-q"))) { 29 VERBOSE = FALSE; 30 remove_argument (N, &argc, argv); 31 } 32 23 33 TimeSelect = FALSE; 24 34 if ((N = get_argument (argc, argv, "-time"))) { … … 35 45 remove_argument (N, &argc, argv); 36 46 TimeSelect = TRUE; 37 gprint (GP_ERR, "plotting in range %ds - %ds (%f seconds)\n", (int)tzero, (int)(tzero + trange), trange);47 if (VERBOSE) gprint (GP_ERR, "plotting in range %ds - %ds (%f seconds)\n", (int)tzero, (int)(tzero + trange), trange); 38 48 } 39 49 … … 88 98 GetTimeFormat (&TimeReference, &TimeFormat); 89 99 100 int Nfound = 0; 101 90 102 for (j = 0; j < MAX_LIST; j++) { 91 103 i = subset[j]; … … 104 116 XY_to_RD (&r, &d, 0.5*image[i].NX, 0.5*image[i].NY, &image[i].coords); 105 117 } 106 gprint (GP_LOG, "%3lld %s %8lld %8.4f %8.4f %f %5d %2d %4.2f %5.3f %5.3f\n", 107 (long long) i, image[i].name, (long long) image[i].imageID, r, d, t, image[i].nstar, image[i].photcode, image[i].secz, image[i].Mcal, image[i].dMcal); 118 if (VERBOSE) gprint (GP_LOG, "%3lld %s %8lld %8.4f %8.4f %f %5d %2d %4.2f %5.3f %5.3f\n", 119 (long long) i, image[i].name, (long long) image[i].imageID, r, d, t, image[i].nstar, image[i].photcode, image[i].secz, image[i].Mcal, image[i].dMcal); 120 121 char name[80]; 122 sprintf (name, "imlist:%d", Nfound); 123 set_str_variable (name, image[i].name); 124 Nfound ++; 108 125 } 126 set_int_variable ("imlist:n", Nfound); 109 127 110 128 FreeImagesDVO(image);
Note:
See TracChangeset
for help on using the changeset viewer.
