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

Change units of cross section plots to be in MeV #288

Open
shimwell opened this issue Jun 16, 2024 · 0 comments
Open

Change units of cross section plots to be in MeV #288

shimwell opened this issue Jun 16, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@shimwell
Copy link
Member

task 1 has several notebooks with plotting sections where we plot in the default eV units on the X axis

for example

fig = openmc.plotter.plot_xs(
    reactions = {
        'Li6': ['(n,Xt)'],
        'Li7': ['(n,Xt)'],
        'Be9': ['(n,2n)']
    },
)

could be changed to

fig = openmc.plotter.plot_xs(
    reactions = {
        'Li6': ['(n,Xt)'],
        'Li7': ['(n,Xt)'],
        'Be9': ['(n,2n)'],
    },
    energy_axis_units='MeV'
)
@shimwell shimwell added the good first issue Good for newcomers label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant