- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psastro (modified) (1 prop)
-
psastro/src (modified) (1 prop)
-
psastro/src/psastroFixChipsTest.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro/src
- Property svn:ignore
-
old new 17 17 psastroModelFit 18 18 psastroExtract 19 psastroVersionDefinitions.h
-
- Property svn:ignore
-
branches/cnb_branches/cnb_branch_20090301/psastro/src/psastroFixChipsTest.c
r21409 r24244 140 140 psStats *stats; 141 141 stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV); 142 psVectorStats (stats, dX, NULL, NULL, 0); 142 if (!psVectorStats (stats, dX, NULL, NULL, 0)) { 143 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 144 return false; 145 } 143 146 Xo = stats->robustMedian; 144 147 fprintf (stderr, "offset x: %f +/- %f\n", stats->robustMedian, stats->robustStdev); … … 146 149 147 150 stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV); 148 psVectorStats (stats, dY, NULL, NULL, 0); 151 if (!psVectorStats (stats, dY, NULL, NULL, 0)) { 152 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 153 return false; 154 } 149 155 Yo = stats->robustMedian; 150 156 fprintf (stderr, "offset y: %f +/- %f\n", stats->robustMedian, stats->robustStdev); … … 168 174 } 169 175 stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV); 170 psVectorStats (stats, dT, NULL, NULL, 0); 176 if (!psVectorStats (stats, dT, NULL, NULL, 0)) { 177 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 178 return false; 179 } 171 180 float To = stats->robustMedian; 172 181 fprintf (stderr, "offset t: %f +/- %f\n", stats->robustMedian, stats->robustStdev);
Note:
See TracChangeset
for help on using the changeset viewer.
