- 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/psastroModelFitBoresite.c (modified) (1 diff)
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/psastroModelFitBoresite.c
r21409 r24244 62 62 63 63 // center (Xo) = mean(Xo), RX = range / 2 64 psVectorStats (stats, Xo, NULL, NULL, 0); 64 if (!psVectorStats (stats, Xo, NULL, NULL, 0)) { 65 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 66 return NULL; 67 } 65 68 params->data.F32[PAR_X0] = stats->sampleMean; 66 69 params->data.F32[PAR_RX] = (stats->max - stats->min) / 2.0; 67 70 68 71 // center (Yo) = mean(Yo), RY = range / 2 69 psVectorStats (stats, Yo, NULL, NULL, 0); 72 if (!psVectorStats (stats, Yo, NULL, NULL, 0)) { 73 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 74 return NULL; 75 } 70 76 params->data.F32[PAR_Y0] = stats->sampleMean; 71 77 params->data.F32[PAR_RY] = (stats->max - stats->min) / 2.0;
Note:
See TracChangeset
for help on using the changeset viewer.
