Changeset 33820 for branches/eam_branches/ipp-20120405/Ohana
- Timestamp:
- Apr 19, 2012, 2:08:20 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/Ohana/src/relphot/src
- Files:
-
- 2 edited
-
MosaicOps.c (modified) (1 diff)
-
global_stats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/MosaicOps.c
r33799 r33820 258 258 if (j != -1) { 259 259 // mark this mosaic as bad 260 mosaic[ i].skipCal = TRUE;260 mosaic[j].skipCal = TRUE; 261 261 Nmark ++; 262 262 } -
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/global_stats.c
r33651 r33820 1 1 # include "relphot.h" 2 3 # define MARKTIME(MSG,...) { \ 4 float dtime; \ 5 gettimeofday (&stopTimer, (void *) NULL); \ 6 dtime = DTIME (stopTimer, startTimer); \ 7 fprintf (stderr, MSG, __VA_ARGS__); } 2 8 3 9 void global_stats (Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr) { … … 5 11 StatType stN, stX, stS, imN, imX, imM, imD, msM, msX, msN, msD; 6 12 13 // struct timeval startTimer, stopTimer; 14 7 15 initstats ("MEAN"); 8 16 9 17 fprintf (stderr, "\n"); 10 18 fprintf (stderr, "STATS median mean sigma min max Nmeas\n"); 19 20 // gettimeofday (&startTimer, (void *) NULL); 11 21 12 22 int Ns; … … 17 27 int seccode = photcodes[Ns][0].code; 18 28 29 // MARKTIME("start star stats: %f sec\n", dtime); 19 30 stN = statsStarN (catalog, Ncatalog, Nsec, seccode, flatcorr); 31 // MARKTIME("done star N: %f sec\n", dtime); 20 32 stX = statsStarX (catalog, Ncatalog, Nsec); 33 // MARKTIME("done star X: %f sec\n", dtime); 21 34 stS = statsStarS (catalog, Ncatalog, Nsec); 35 // MARKTIME("done star S: %f sec\n", dtime); 22 36 23 37 fprintf (stderr, " --- stats for %s ---\n", photcodes[Ns][0].name);
Note:
See TracChangeset
for help on using the changeset viewer.
