Skip to content

Adding projection plot#4

Draft
shimwell wants to merge 3 commits intodevelopfrom
adding_projection_plot
Draft

Adding projection plot#4
shimwell wants to merge 3 commits intodevelopfrom
adding_projection_plot

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

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