Closed FDahmani closed 6 months ago
To provide some more context, and perhaps a more clear case to reproduce:
Thus note that the final_residuals in fact are the same as the ones from the first iteration. Both input files and the file to run can be found in the zip. Make sure to change line 83 to the correct directory and to have the correct Spice kernel available(jup344.bsp)
Issue corrected in documentation (to be built)
I have noticed that when using the following function https://py.api.tudat.space/en/latest/estimation.html#tudatpy.numerical_simulation.estimation.EstimationOutput.final_residuals ,the values you get are from the 'best', i.e. lowest printed 'Current residual' in the estimation process, not of the actual final residual. In the added output in the txt file, you can also see that the claimed final residual is in fact the first one, that just happens to be the best one, which is likely a coupled problem. In the images you can see the residuals in the first and fith iteration. The final image demonstrates the residuals from the function mentioned earlier, which is the same as the first, not the last iteration, as it is supposed to be. residuals.txt