Skip to content
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

Fix NWL plot #109

Merged
merged 1 commit into from
May 31, 2024
Merged

Fix NWL plot #109

merged 1 commit into from
May 31, 2024

Conversation

connoramoreno
Copy link
Collaborator

The matrix returned by numpy.historgram2d in nwl_utils.py has rows corresponding to our toroidal angles and columns corresponding to our poloidal angles. However, when we plot the NWL, we set our x-axis to our toroidal angles and our y-axis to our poloidal angles, which is the reverse of the NWL matrix. This PR transposes the NWL matrix such that its rows and columns correspond to the x- and y-axes appropriately.

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gonuke gonuke merged commit a77a4af into main May 31, 2024
1 check passed
@connoramoreno connoramoreno deleted the nwl-hotfix branch June 3, 2024 16:33
connoramoreno pushed a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants