Changeset 39632
- Timestamp:
- Jul 13, 2016, 11:51:19 AM (10 years ago)
- Location:
- trunk/Ohana/src/relphot/src
- Files:
-
- 6 edited
-
GridOps.c (modified) (1 diff)
-
ImageOps.c (modified) (1 diff)
-
MosaicOps.c (modified) (1 diff)
-
relphot_objects.c (modified) (1 diff)
-
setMrelCatalog.c (modified) (2 diffs)
-
setMrelFinal.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/src/GridOps.c
r39457 r39632 531 531 532 532 StatType stats; 533 liststats_setmode (&stats, STATMODE);533 liststats_setmode (&stats, "INNER_WTMEAN"); 534 534 535 535 if (!USE_GRID) return; -
trunk/Ohana/src/relphot/src/ImageOps.c
r39481 r39632 620 620 StatType stats; 621 621 liststats_setmode (&stats, "INNER_WTMEAN"); 622 // liststats_setmode (&stats, STATMODE);623 622 624 623 // FREEZE_IMAGES only applies to mosaic data (eg, gpc1) -
trunk/Ohana/src/relphot/src/MosaicOps.c
r39481 r39632 1055 1055 1056 1056 StatType stats; 1057 // liststats_setmode (&stats, STATMODE);1058 1057 liststats_setmode (&stats, "INNER_WTMEAN"); 1059 1058 -
trunk/Ohana/src/relphot/src/relphot_objects.c
r39621 r39632 228 228 229 229 char *command = NULL; 230 strextend (&command, "relphot_client -update-objects -hostID %d -D CATDIR %s -hostdir %s -region %f %f %f %f -statmode %s -D CAMERA %s -D STAR_TOOFEW %d -minerror %f", 231 table->hosts[i].hostID, CATDIR, table->hosts[i].pathname, UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax, STATMODE, CAMERA, STAR_TOOFEW, MIN_ERROR); 230 strextend (&command, "relphot_client -update-objects"); 231 strextend (&command, "-hostID %d", table->hosts[i].hostID); 232 strextend (&command, "-D CATDIR %s", CATDIR); 233 strextend (&command, "-hostdir %s", table->hosts[i].pathname); 234 strextend (&command, "-region %f %f %f %f", UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax); 235 strextend (&command, "-statmode %s", STATMODE); 236 strextend (&command, "-D CAMERA %s", CAMERA); 237 strextend (&command, "-D STAR_TOOFEW %d", STAR_TOOFEW); 238 strextend (&command, "-minerror %f", MIN_ERROR); 232 239 233 240 if (VERBOSE) { strextend (&command, "-v"); } -
trunk/Ohana/src/relphot/src/setMrelCatalog.c
r39621 r39632 56 56 off_t j; 57 57 58 // the same STATMODE is used for chip and warp averages 58 59 liststats_setmode (&results->psfstats, STATMODE); 59 60 liststats_setmode (&results->apstats, STATMODE); … … 966 967 } 967 968 969 # if (0) 970 int magStatsByRankingIRLS (StatDataSet *dataset, StatType *stats) { 971 972 liststats_init (stats); 973 974 if (dataset->Nlist == 0) return 0; 975 976 // we have a list of measurements for this Nsec value, along with errors, weights, and their rank 977 // first, sort by the rank (increasing) 978 sort_StatDataSet (dataset); 979 980 // find the values with the same minimum rank: 981 int Nranking = 0; 982 int minRank = dataset->ranking[0]; // MIN (5, result->psfData[Nsec].ranking[0]); -- only allow rank 5 or < 983 984 int i; 985 for (i = 0; (i < dataset->Nlist) && (dataset->ranking[i] == minRank); i++, Nranking++); 986 987 liststats (dataset->flxlist, dataset->errlist, dataset->wgtlist, Nranking, stats); 988 return (Nranking); 989 } 990 # endif 991 968 992 // outlier warp measurements are driving bad mean values. 969 993 int magStatsByRankingClipped (StatDataSet *dataset, StatType *stats) { -
trunk/Ohana/src/relphot/src/setMrelFinal.c
r39517 r39632 100 100 101 101 // XXX make this optional? (do not clean for -averages?) 102 if (!simpleAverage) clean_measures (catalog, 1, TRUE, flatcorr); /* mark outliers ID_MEAS_POOR_PHOTOM */ 102 // XXX : for the moment, disable clean_measures 103 if (!simpleAverage && FALSE) clean_measures (catalog, 1, TRUE, flatcorr); /* mark outliers ID_MEAS_POOR_PHOTOM */ 103 104 104 105 ALLOCATE (catalog[0].measureRank, char, catalog[0].Nmeasure);
Note:
See TracChangeset
for help on using the changeset viewer.
