grss.fit.fit_simulation.IterationParams#
- class grss.fit.fit_simulation.IterationParams(iter_number, x_nom, covariance, obs, rms_u, rms_w, chi_sq)#
Bases:
object
Class for storing the iteration parameters for a single iteration of the orbit determination process. It is also used for plotting the residuals and chi-squared values for each iteration.
- __init__(iter_number, x_nom, covariance, obs, rms_u, rms_w, chi_sq)#
Constructor for the IterationParams class
- Parameters:
iter_number (int) – Iteration number
x_nom (dict) – Dictionary of nominal state vector values at the current iteration
covariance (array) – Covariance matrix at the current iteration
obs (pandas DataFrame) – Observation data for the orbit fit
rms_u (float) – Unweighted RMS of the residuals.
rms_w (float) – Weighted RMS of the residuals.
chi_sq (float) – Chi-squared value for the residuals
Methods
__init__
(iter_number, x_nom, covariance, ...)Constructor for the IterationParams class
plot_iteration_summary
([show_logarithmic, ...])Plot the summary of the iteration, including residuals, chi values, and chi squared values.
- plot_iteration_summary(show_logarithmic=False, title=None, plot_chi_squared=False, savefig=False, figname=None, auto_close=False)#
Plot the summary of the iteration, including residuals, chi values, and chi squared values.
- Parameters:
show_logarithmic (bool, optional) – Flag to show the plotted values on a logarithmic scale, by default False
title (str, optional) – Title of the plot, by default None
plot_chi_squared (bool, optional) – Flag to plot the chi squared values, by default False
savefig (bool, optional) – Flag to save the figure, by default False
figname (str, optional) – Name of the figure, by default None
auto_close (bool, optional) – Flag to automatically close the figure, by default False
- Returns:
None – None
- Return type:
NoneType