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
API Plot labels for XSData object; Other cleanups #402
API Plot labels for XSData object; Other cleanups #402
Commits on May 4, 2020
-
API Add dictionary-like access to XSPlotReader
Provides len, contains, getitem, get, keys, values, items Add dedicated pytest test file for the xsplot reader
Configuration menu - View commit details
-
Copy full SHA for 2c13403 - Browse repository at this point
Copy the full SHA 2c13403View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad9fb99 - Browse repository at this point
Copy the full SHA ad9fb99View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdfa349 - Browse repository at this point
Copy the full SHA bdfa349View commit details -
API Provide XSData __getitem__, get methods
Index into the cross section data given a reaction MT that exists in MT list. Emulates dictionary-like access, but relies on finding the index from self.MT
Configuration menu - View commit details
-
Copy full SHA for 9db302c - Browse repository at this point
Copy the full SHA 9db302cView commit details -
Provide XSData.describe for explaining MTs
Given a reaction MT, return it's corresponding description. Works for positive or negative
Configuration menu - View commit details
-
Copy full SHA for fca3588 - Browse repository at this point
Copy the full SHA fca3588View commit details -
API XSData.plot supports labels argument
The following modes are available: 1. None -> get descriptions from self.describe 2. str -> only if a single MT is plotted 3. mapping {mt: label} -> Provide a label for one or all MTs plotted. Does not have to contain all the reactions. Missing MTs will fall back to their description 4. Iterable -> Must have length equal to MTs being plotted. Provide labels in the order of iteration
Configuration menu - View commit details
-
Copy full SHA for b837758 - Browse repository at this point
Copy the full SHA b837758View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1b21f - Browse repository at this point
Copy the full SHA fd1b21fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e040b80 - Browse repository at this point
Copy the full SHA e040b80View commit details -
Configuration menu - View commit details
-
Copy full SHA for f77fbed - Browse repository at this point
Copy the full SHA f77fbedView commit details -
DOC Update XSPlot notebook, example
Remove some unused PNGs as well
Configuration menu - View commit details
-
Copy full SHA for 5b4d81f - Browse repository at this point
Copy the full SHA 5b4d81fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a37a9b - Browse repository at this point
Copy the full SHA 5a37a9bView commit details -
TST Add pytest specific XSPlot tester
Tests dictionary access, plot labeling, and describe method
Configuration menu - View commit details
-
Copy full SHA for 27de174 - Browse repository at this point
Copy the full SHA 27de174View commit details