Changeset 41672
- Timestamp:
- Jun 29, 2021, 11:13:17 AM (5 years ago)
- Location:
- trunk/Ohana/src/relphot
- Files:
-
- 3 edited
-
include/relphot.h (modified) (1 diff)
-
src/args.c (modified) (2 diffs)
-
src/setMrelCatalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/include/relphot.h
r41671 r41672 428 428 double CLOUD_TOLERANCE; 429 429 int VARIABILITY_STATS; 430 int USE_OLS_FOR_AVERAGES; 430 431 431 432 int PARALLEL; -
trunk/Ohana/src/relphot/src/args.c
r41671 r41672 440 440 remove_argument (N, &argc, argv); 441 441 VARIABILITY_STATS = TRUE; 442 } 443 USE_OLS_FOR_AVERAGES = FALSE; 444 if ((N = get_argument (argc, argv, "-use-ols-for-averages"))) { 445 remove_argument (N, &argc, argv); 446 USE_OLS_FOR_AVERAGES = TRUE; 442 447 } 443 448 … … 876 881 VARIABILITY_STATS = TRUE; 877 882 } 883 USE_OLS_FOR_AVERAGES = FALSE; 884 if ((N = get_argument (argc, argv, "-use-ols-for-averages"))) { 885 remove_argument (N, &argc, argv); 886 USE_OLS_FOR_AVERAGES = TRUE; 887 } 878 888 879 889 MIN_ERROR = 0.001; -
trunk/Ohana/src/relphot/src/setMrelCatalog.c
r41671 r41672 81 81 SetMrelInfoReset (results); // reset the counters 82 82 83 useOLS = UseStandardOLS (ZPT_STARS); 83 // XXX if we are iterating on the image zero points, we should use OLS 84 // until we have performed a few iterations. UseStandardOLS() returns 85 // true (use OLS) or false depending on the zero point mode (TGROUP, MOSAIC, IMAGE) and the 86 // number of iterations. 87 88 // On the final pass (isSetMrelFinal), we should use OLS or IRLS depending on 89 // the user choice (USE_OLS_FOR_AVERAGES) 90 91 useOLS = isSetMrelFinal ? USE_OLS_FOR_AVERAGES : UseStandardOLS (ZPT_STARS); 84 92 for (j = 0; j < catalog[Nc].Naverage; j++) { 85 93
Note:
See TracChangeset
for help on using the changeset viewer.
