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

Adding projection plot #4

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Adding projection plot #4

wants to merge 3 commits into from

Conversation

shimwell
Copy link
Member

Work in progress

This PR will allow projections of the source to be plotted, ideal for producing source plots on dagmc geometry with the dagmc_geometry_slice_plotter.

TODO

  • add different axis projections (xy, xz, yz ...)
  • add rotation option for axis RZ
  • add matplotlib option for scatter points to allow combination with dagmc_geometry_slice_plotter

@@ -128,6 +128,43 @@ def plot_energy_from_initial_source(
return fig


def plot_projected_position_from_initial_source(
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
def plot_projected_position_from_initial_source(
def plot_position_with_geometry_from_initial_source(

Comment on lines +132 to +133
input_filename="initial_source.h5", axis="XY"
):
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
input_filename="initial_source.h5", axis="XY"
):
input_filename="initial_source.h5",
h5m_filename="dagmc.h5m",
axis="XY"
):

@shimwell
Copy link
Member Author

This probably needs plotly support to be added to the dagmc_geometry_slice_plotter or alternatively matplotlib support to be added to this package

@shimwell
Copy link
Member Author

putting this on hold because the downstream deps are being updated

@shimwell shimwell marked this pull request as draft February 11, 2022 16:53
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.

1 participant