- 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/psastroMosaicOneChip.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/psastroMosaicOneChip.c
r21422 r24244 58 58 59 59 // modify the order to correspond to the actual number of matched stars: 60 if ((match->n < 17) && (order >= 3)) order = 2; 61 if ((match->n < 13) && (order >= 2)) order = 1; 62 if ((match->n < 9) && (order >= 1)) order = 0; 63 if ((match->n < 3) || (order < 0) || (order > 3)) { 60 int Ndof_min = 3; 61 int order_max = 0.5*(sqrt(4*match->n - 4*Ndof_min + 1) - 3); 62 order = PS_MIN (order, order_max); 63 64 // if ((match->n < 17) && (order >= 3)) order = 2; 65 // if ((match->n < 13) && (order >= 2)) order = 1; 66 // if ((match->n < 9) && (order >= 1)) order = 0; 67 68 if (order < 0) { 64 69 psLogMsg ("psastro", 3, "insufficient stars (%ld) or invalid order (%d)", match->n, order); 65 70 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
