Plot trajectory in RIC frame #210
Labels
Interface: Python
Kind: Improvement
This is a proposed improvement
Priority: high
Status: Design
Issue at Design phase of the quality assurance process
High level description
Currently, Nyx allows plotting individual trajectory data in various reference frames, but has no capability to visualize one trajectory alongside many others in the same plot.
Stakeholders have a need to compare a single trajectory (such as a nominal mission profile) against N number of alternate trajectories (such as dispersed cases from a Monte Carlo analysis). Doing this comparison in the Radial-In-track-Cross track (RIC) frame centered on the nominal trajectory would provide valuable insights.
To enable this, we need to add a new plotting method to Nyx that accepts one OrbitTraj as the nominal trajectory, plus a list of N other OrbitTraj objects to plot relative to it in the RIC frame. Users should be able to specify plot formatting options like line colors, legend labels, etc.
This will allow convenient generation of comparative trajectory plots, improving Nyx's capabilities for visualization and analysis. Key use cases are assessing trajectory dispersions, evaluating maneuver alternatives, and gaining insights across Monte Carlo data sets.
Requirements
Thanks for the clarifications! Here is an updated requirements section with those changes:
Requirements
plot_traj_errors_ric()
to Python APInominal_df
: Pandas DataFrame with nominal trajectoryerror_dfs
: List of Pandas DataFrames with error trajectoriesplot_trajectory()
besides inputsplot_trajectory()
(colors, styles, labels, etc)Design
TDB: consider expanding the DCM from
dcm_from_traj_frame
to be a 6x6 that accounts for the transport theorem.Claude claims the following which must be independently verified:
This should be verified that two identical trajectories return the same DCM at the very least. Not sure how else to expand on this test case.
The text was updated successfully, but these errors were encountered: