Giter Club home page Giter Club logo

spectrum_plotter's People

Contributors

py1sl avatar shimwell avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

py1sl

spectrum_plotter's Issues

process std dev correctly

Currently the y_err value just adds to the y value and subtracts to make a shadow region either side.

However it would be better if this was a multiplication as the y_err is actually the standard deviation.

Then another argument for sigma can be added to allow users to input 1 sigma but plot 2 , 3 or more sigma error

remove dependencies from CI

It would be quicker using the openmc dockerimage instead of the openmc-dagmc docker image
the openmc-dagmc-wrapper could be removed if the tallies in the examples were created with regular openmc commands
the examples could all read from the same statepoint file instead of including simulations
add information on creating the statepoitn file to the readme

adding lethargy option to axis

It would be nice to allow per unit lethargy axis options to the plots

this would need to get the energy bin width as part of the calculation

making openmc convertor optional

How would folk feel about making the openmc tally unit convertor optional either something along the lines of

 try:
        import external_module
    except ImportError:
        external_module = None 

or moving the import into the plot_spectrum_from_tally function?

Unable to plot spectra on surface

Looks like current on a surface is not a supported tally. I guess this should be added in openmc_tally_unit_convertor so that it can be used here

error plotting when spectrum has gaps (zero value error)

overly aggressive weight windows can cause the spectrum to have gaps. While this is not ideal the package should properly handle this without crashing.

  • add test case to mimic gappy spectrum and reproduce error
  • add solution to handle gappy spectrum

pip install does not get all dependencies

The pip install gets the openmc_tally_unit_convertor, this in turn is dependant on having openmc installed which is not retrieved.
The pip install alone does not give a working spectrum plotter

add option for plotly

matplotlib can perhaps be the default but it would be handy to have a plotly option for those interactive plots.

then the neutronics work shop can make use of this package to plot spectra in a few tasks

Add a test for volume

The volume argument might not be working and a test needs adding to check

This could be done by making two plots one with the required_units that are flux/volume and one with no special required_units.

The plot object that is returned could then be inspected to make sure the y values have been changed accordingly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.