Skip to content

Commit

Permalink
Radar observations shouldn't be used in determining the 'tweak size' …
Browse files Browse the repository at this point in the history
…used in numerical differentiation in the least-squares process. Using them results in a _much_ smaller tweak size. (There are similar problems if there are high-precision astrometric observations in the data. This will require further investigation; the current change is a stopgap to address some particularly egregious cases.)
  • Loading branch information
Bill-Gray committed Mar 27, 2023
1 parent 935bf03 commit bdb4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orb_func.cpp
Expand Up @@ -2969,7 +2969,7 @@ int full_improvement( OBSERVE FAR *obs, int n_obs, double *orbit,

slope_ptr[0] -= xresidual;
slope_ptr[n_params] -= yresidual;
/* if( obs[j].note2 != 'R') */
if( obs[j].note2 != 'R')
{
const double error_squared = slope_ptr[0] * slope_ptr[0]
+ slope_ptr[n_params] * slope_ptr[n_params];
Expand Down

0 comments on commit bdb4632

Please sign in to comment.