-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CLI to plot basic control system quantities #5978
Conversation
plt.title(title) | ||
axes[1].legend(loc="center left", bbox_to_anchor=(1.01, 1.1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opinions on how to better represent the shape components are welcome. Just did the easiest thing for now to quickly get it in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about an L2 norm over all shape components
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be important to be able to distinguish which component is the one that's going bad, so I don't think lumping them together would be best.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could plot both the L2 norm and the highest mode then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or one plot where the components of each control system are lumped together so you have only one line each for expansion, rotation, shape, size. This tells you which control system is going bad. Plus one plot for each control system with all the components. This tells you which component is going bad. So you have a figure with 1+num_control_systems rows and 1 col.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe do L2 over each m
for each l
with an option to show all m
modes for a specific l
and nothing else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having 1+num_control_systems plots sounds a bit crowded and also hard to compare between control systems. I do like doing the L2 over all m
of a given l
by default and then having an option to show all m
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please squash in the fixup
or rename it depending on how you want to structure the PR
@nilsdeppe Squashed and rebased |
Proposed changes
Example of output:
Upgrade instructions
To use, build the CLI then run
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments