- Timestamp:
- Apr 20, 2014, 6:00:00 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
- 5 copied
-
. (modified) (1 prop)
-
Ohana/src/libohana/src (modified) (1 prop)
-
Ohana/src/opihi/cmd.astro/gauss.c (modified) (3 diffs)
-
Ohana/src/opihi/cmd.astro/star.c (modified) (2 diffs)
-
Ohana/src/opihi/cmd.data/Makefile (modified) (2 diffs)
-
Ohana/src/opihi/cmd.data/impeaks.c (copied) (copied from branches/eam_branches/ipp-20140402/Ohana/src/opihi/cmd.data/impeaks.c )
-
Ohana/src/opihi/cmd.data/init.c (modified) (4 diffs)
-
Ohana/src/opihi/cmd.data/medimage.c (copied) (copied from branches/eam_branches/ipp-20140402/Ohana/src/opihi/cmd.data/medimage.c )
-
Ohana/src/opihi/cmd.data/medimage_commands.c (copied) (copied from branches/eam_branches/ipp-20140402/Ohana/src/opihi/cmd.data/medimage_commands.c )
-
Ohana/src/opihi/cmd.data/rebin.c (modified) (1 diff)
-
Ohana/src/opihi/cmd.data/test/medimage.sh (copied) (copied from branches/eam_branches/ipp-20140402/Ohana/src/opihi/cmd.data/test/medimage.sh )
-
Ohana/src/opihi/cmd.data/vellipse.c (modified) (1 diff)
-
Ohana/src/opihi/include/data.h (modified) (4 diffs)
-
Ohana/src/opihi/lib.data/Makefile (modified) (1 diff)
-
Ohana/src/opihi/lib.data/MedImageOps.c (copied) (copied from branches/eam_branches/ipp-20140402/Ohana/src/opihi/lib.data/MedImageOps.c )
-
Ohana/src/opihi/lib.data/starfuncs.c (modified) (2 diffs)
-
Ohana/src/opihi/lib.shell/ListOps.c (modified) (1 diff)
-
Ohana/src/opihi/lib.shell/convert_to_RPN.c (modified) (1 diff)
-
Ohana/src/tools/src/medianfilter.c (modified) (1 diff)
-
ippScripts/scripts/ipp_apply_burntool_single.pl (modified) (1 prop)
-
ippScripts/scripts/publish_file.pl (modified) (1 prop)
-
ippconfig/recipes/ppSub.config (modified) (1 prop)
-
ippconfig/recipes/reductionClasses.mdc (modified) (1 prop)
-
psphot/src (modified) (1 prop)
-
psphot/src/psphotStackImageLoop.c (modified) (1 prop)
-
pstamp/scripts/pstamp_save_server_status.pl (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402 (added) merged: 36641,36644,36673-36677
- Property svn:mergeinfo changed
-
trunk/Ohana/src/libohana/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/Ohana/src/libohana/src (added) merged: 36677
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi/cmd.astro/gauss.c
r34088 r36679 10 10 Buffer *buf; 11 11 KapaImageData data; 12 int VERBOSE; 13 14 VERBOSE = TRUE; 15 if ((N = get_argument (argc, argv, "-q"))) { 16 VERBOSE = FALSE; 17 remove_argument (N, &argc, argv); 18 } 19 if ((N = get_argument (argc, argv, "-quiet"))) { 20 VERBOSE = FALSE; 21 remove_argument (N, &argc, argv); 22 } 12 23 13 24 name = NULL; … … 58 69 KiiCursorRead (kapa, &X, &Y, &ZP, &RA, &DEC, key); 59 70 if (!strcasecmp (key, "Q")) break; 60 get_aperture_stats (&buf[0].matrix, (int)(X+0.5), (int)(Y+0.5), Npix, Nborder, max );71 get_aperture_stats (&buf[0].matrix, (int)(X+0.5), (int)(Y+0.5), Npix, Nborder, max, VERBOSE); 61 72 } 62 73 KiiCursorOff (kapa); … … 64 75 } 65 76 77 -
trunk/Ohana/src/opihi/cmd.astro/star.c
r34088 r36679 6 6 double max; 7 7 Buffer *buf; 8 int VERBOSE; 9 10 VERBOSE = TRUE; 11 if ((N = get_argument (argc, argv, "-q"))) { 12 VERBOSE = FALSE; 13 remove_argument (N, &argc, argv); 14 } 15 if ((N = get_argument (argc, argv, "-quiet"))) { 16 VERBOSE = FALSE; 17 remove_argument (N, &argc, argv); 18 } 8 19 9 20 Nborder = 3; … … 36 47 } 37 48 38 get_aperture_stats (&buf[0].matrix, x, y, dx, Nborder, max );49 get_aperture_stats (&buf[0].matrix, x, y, dx, Nborder, max, VERBOSE); 39 50 40 51 return (TRUE); -
trunk/Ohana/src/opihi/cmd.data/Makefile
r36489 r36679 64 64 $(SRC)/imcut.$(ARCH).o \ 65 65 $(SRC)/imhist.$(ARCH).o \ 66 $(SRC)/impeaks.$(ARCH).o \ 66 67 $(SRC)/imsmooth.$(ARCH).o \ 67 68 $(SRC)/imsmooth.generic.$(ARCH).o \ … … 88 89 $(SRC)/mget.$(ARCH).o \ 89 90 $(SRC)/minterpolate.$(ARCH).o \ 91 $(SRC)/medimage.$(ARCH).o \ 92 $(SRC)/medimage_commands.$(ARCH).o \ 90 93 $(SRC)/mset.$(ARCH).o \ 91 94 $(SRC)/peak.$(ARCH).o \ -
trunk/Ohana/src/opihi/cmd.data/init.c
r36489 r36679 53 53 int imcut PROTO((int, char **)); 54 54 int imhist PROTO((int, char **)); 55 int impeaks PROTO((int, char **)); 55 56 int imsmooth PROTO((int, char **)); 56 57 int imsmooth_generic PROTO((int, char **)); … … 78 79 int mget PROTO((int, char **)); 79 80 int minterp PROTO((int, char **)); 81 int medimage_command PROTO((int, char **)); 80 82 int mset PROTO((int, char **)); 81 83 int peak PROTO((int, char **)); … … 211 213 {1, "imcut", imcut, "linear image cut between arbitrary coords"}, 212 214 {1, "imhistogram", imhist, "histogram of an image region"}, 215 {1, "impeaks", impeaks, "find peaks in an image (return vectors)"}, 213 216 {1, "imsmooth", imsmooth, "circular gaussian smoothing"}, 214 217 {1, "imsmooth.generic", imsmooth_generic, "circular non-gaussian smoothing"}, … … 233 236 {1, "minterp", minterp, "interpolate image pixels"}, 234 237 {1, "iminterp", minterp, "interpolate image pixels"}, 238 {1, "medimage", medimage_command, "median image manipulation"}, 235 239 {1, "matrix", matrix, "matrix math operations"}, 236 240 {1, "match2d", match2d, "match 2 pairs of X,Y vectors and return matched indexes"}, -
trunk/Ohana/src/opihi/cmd.data/rebin.c
r28241 r36679 133 133 *Vout += *Vin; 134 134 if (Normalize) {(*Vn) ++;} 135 // if ((i == 1) && (j == 1)) fprintf (stderr, "%d,%d : %d,%d : %f : %f : %d\n", i, j, x, y, *Vin, *Vout, *Vn); 135 136 } 136 137 if (Normalize) {Vn ++;} -
trunk/Ohana/src/opihi/cmd.data/vellipse.c
r25757 r36679 228 228 */ 229 229 230 // XXX NOTE that PHI is defined with the wrong sign, should fix this... 230 231 opihi_flt fellipseOD (opihi_flt alpha, opihi_flt *par, int Npar, opihi_flt *dpar) { 231 232 -
trunk/Ohana/src/opihi/include/data.h
r34584 r36679 33 33 char **pageIDs; 34 34 } Book; 35 36 // the interpolating spline has valu 37 typedef struct { 38 int Nknots; 39 opihi_flt *xk; 40 opihi_flt *yk; 41 opihi_flt *y2; 42 char *name; 43 } Spline; 44 45 typedef struct { 46 char *name; 47 int Ninput; 48 int Nx; 49 int Ny; 50 float **buffers; 51 } MedImageType; 35 52 36 53 void InitData (void); … … 144 161 145 162 /* starfuncs.c */ 146 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max );163 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max, int VERBOSE); 147 164 int set_rough_radii (double Ra, double Ri, double Ro); 148 165 int get_rough_star (float *data, int Nx, int Ny, int x, int y, opihi_flt *xc, opihi_flt *yc, opihi_flt *sx, opihi_flt *sy, opihi_flt *sxy, opihi_flt *zs, opihi_flt *zp, opihi_flt *sk); … … 170 187 void FreeQueues (void); 171 188 void FreeBooks (void); 172 173 // the interpolating spline has valu174 typedef struct {175 int Nknots;176 opihi_flt *xk;177 opihi_flt *yk;178 opihi_flt *y2;179 char *name;180 } Spline;181 189 182 190 /* in SplineOps.c */ … … 207 215 double hermitian_10(double x); 208 216 217 /* in MedImageOps.c */ 218 void InitMedImages (); 219 void FreeMedImages (); 220 void FreeMedImage (MedImageType *medimage); 221 MedImageType *FindMedImage (char *name); 222 MedImageType *CreateMedImage (char *name, int Nx, int Ny); 223 int DeleteMedImage (MedImageType *medimage); 224 void ListMedImages (); 225 209 226 # endif -
trunk/Ohana/src/opihi/lib.data/Makefile
r34584 r36679 24 24 $(SDIR)/spline.$(ARCH).o \ 25 25 $(SDIR)/SplineOps.$(ARCH).o \ 26 $(SDIR)/MedImageOps.$(ARCH).o \ 26 27 $(SDIR)/mrqmin.$(ARCH).o \ 27 28 $(SDIR)/mrq2dmin.$(ARCH).o \ -
trunk/Ohana/src/opihi/lib.data/starfuncs.c
r34088 r36679 1 1 # include "data.h" 2 2 3 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max ) {3 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max, int VERBOSE) { 4 4 5 5 double *ring; … … 95 95 set_int_variable ("Npts", Npts); 96 96 97 gprint (GP_LOG, "%f %f %f %f %f %f %f %f\n", x, y, FWHMx, FWHMy, sky, I, mag, dmag);97 if (VERBOSE) gprint (GP_LOG, "%f %f %f %f %f %f %f %f\n", x, y, FWHMx, FWHMy, sky, I, mag, dmag); 98 98 99 99 return (mag); -
trunk/Ohana/src/opihi/lib.shell/ListOps.c
r36084 r36679 198 198 199 199 ptr = nextword (line); 200 if (!strncmp("-excel", ptr, strlen("-excel"))) ptr = nextword (ptr);201 if (!strncmp("-excel-style", ptr, strlen("-excel-style"))) ptr = nextword (ptr);202 ptr = nextword (ptr);203 200 if (!strncmp("-excel", ptr, strlen("-excel"))) ptr = nextword (ptr); 204 201 if (!strncmp("-excel-style", ptr, strlen("-excel-style"))) ptr = nextword (ptr); -
trunk/Ohana/src/opihi/lib.shell/convert_to_RPN.c
r36489 r36679 70 70 if (!strcmp (argv[i], "^")) { type = ST_POWER; goto gotit; } 71 71 72 if (!strcmp (argv[i], "max")) { type = ST_BINARY; strcpy (argv[i], "U"); goto gotit; } 73 if (!strcmp (argv[i], "min")) { type = ST_BINARY; strcpy (argv[i], "D"); goto gotit; } 72 74 if (!strcmp (argv[i], "atan2")) { type = ST_BINARY; goto gotit; } 73 75 if (!strcmp (argv[i], ",")) { type = ST_COMMA; goto gotit; } -
trunk/Ohana/src/tools/src/medianfilter.c
r36084 r36679 114 114 if (debug) fprintf (stderr, "\n"); 115 115 if (Nvalid == 0) { 116 *O = 0.0;116 *O = NAN; 117 117 if (debug) { 118 118 fprintf (stderr, "Nvalid is 0\n"); -
trunk/ippScripts/scripts/ipp_apply_burntool_single.pl
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/ippScripts/scripts/ipp_apply_burntool_single.pl (added) merged: 36677
- Property svn:mergeinfo changed
-
trunk/ippScripts/scripts/publish_file.pl
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/ippScripts/scripts/publish_file.pl (added) merged: 36677
- Property svn:mergeinfo changed
-
trunk/ippconfig/recipes/ppSub.config
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/ippconfig/recipes/ppSub.config (added) merged: 36644,36677
- Property svn:mergeinfo changed
-
trunk/ippconfig/recipes/reductionClasses.mdc
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/ippconfig/recipes/reductionClasses.mdc (added) merged: 36644,36677
- Property svn:mergeinfo changed
-
trunk/psphot/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/psphot/src (added) merged: 36677
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotStackImageLoop.c
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/psphot/src/psphotStackImageLoop.c (added) merged: 36677
- Property svn:mergeinfo changed
-
trunk/pstamp/scripts/pstamp_save_server_status.pl
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140402/pstamp/scripts/pstamp_save_server_status.pl (added) merged: 36677
- Property svn:mergeinfo changed
Note:
See TracChangeset
for help on using the changeset viewer.
