Commit graph

366 commits

Author SHA1 Message Date
Paul Romano
e9479aeb0d Make sure material density is set from Python API 2016-12-14 06:56:38 -06:00
Adam Nelson
b4c556db82 incorporated MT=5, simplified yield usage in the plotter 2016-11-18 19:55:24 -05:00
Adam Nelson
1a62b59dc3 Resolved @samuelshaner comments 2016-11-17 17:17:38 -05:00
Adam Nelson
b8d9fe461f Resolving @paulromano comments 2016-11-16 21:47:07 -05:00
Adam Nelson
995ba26694 Moved plotting and calculate_xs routines to plotter, condensed code as needed. 2016-11-11 21:58:31 -05:00
Adam Nelson
d4f4166ba7 resolved most of the comments from @samuelshaner 2016-11-11 20:37:03 -05:00
Adam Nelson
2a50aff588 Pre-PR cleanup and addition of ability to read MT in types 2016-11-11 15:20:40 -05:00
Adam Nelson
240028d13d Added ability to provide an axis to the plot_xs routines, and added a type for slowing-down power so we can plot moderating ratios. Why not right? 2016-11-11 14:50:24 -05:00
Adam Nelson
4fe275b381 Code and resultant plot cleanup; also ensured every plot type explicitly included MT=2 so that S(a,b) data could properly be spliced in 2016-11-11 06:22:38 -05:00
Adam Nelson
3884123a59 Merge remote-tracking branch 'upstream/develop' into plot_mat 2016-11-11 05:22:01 -05:00
Adam Nelson
7524637e23 Added kwargs to plots, switched to taking a file string for the cross_sections.xml file instead of an initialized DataLibrary, and avoided precision issues when calculating the inelastic xs 2016-11-11 05:20:38 -05:00
Sam Shaner
4dd663dd78 changed molar_mass to average_molar_mass 2016-11-10 17:19:39 -05:00
Sam Shaner
8394970acb addressed PR comments 2016-11-10 15:42:22 -05:00
Sam Shaner
9e9e401aaa removed import of re in material.py 2016-11-09 22:23:59 -05:00
Sam Shaner
80bf6c7528 add get_molar_mass() method to material and fixed two other issues 2016-11-09 22:20:29 -05:00
Adam Nelson
76991a223f Extended plots to elements and nuclides 2016-11-09 18:10:41 -05:00
Adam Nelson
8de82dcbd3 Modifications to support new function routine 2016-11-08 20:29:33 -05:00
Adam Nelson
131fdce5b3 fixing failing tests 2016-11-07 19:47:29 -05:00
Adam Nelson
3f610d03ca Added the ability to divide by a type, so now we can easily (and not with complicated routines within calculate_xs) get nu-scatter/scatter, nu-fission/fission and something like a moderating ratio (just needs xi). 2016-11-06 19:43:32 -05:00
Adam Nelson
739dd53c9b Yay! Now can handle data operations aside from summing, allowing for cheaper calculations of multi-MT datasets (i.e., its easier to find scatter when its just total-absorption), and I put in the ability to get nu-fission and nu-scatter by way of the product yield. Whew. 2016-11-06 15:48:36 -05:00
Adam Nelson
273e0a32ce Minor cleanup 2016-11-06 12:42:31 -05:00
Adam Nelson
32f70cd21a Separated out routine to calculate the atom densities from the xs calculation routine 2016-11-06 08:47:12 -05:00
Adam Nelson
ddf642e195 Incorporated ability to include densities and to plot s(a,b) data when in the material 2016-11-06 08:26:16 -05:00
Adam Nelson
4e50b6e8c7 Ability to read in a cross_sections.xml from python and initial capability for plotting macroscopic xs 2016-11-05 16:55:34 -04:00
Sam Shaner
bc2a7c3201 added error if element added via materials.xml file 2016-10-31 12:28:01 -04:00
samuel shaner
163f153ab6 reverted material to outputting full atomic amount to xml file 2016-10-26 13:45:12 +00:00
Sam Shaner
c8c98f79dc updated failing tests 2016-10-26 08:12:26 -04:00
Sam Shaner
a042ff60ed addressed PR comments 2016-10-25 20:54:56 -04:00
Sam Shaner
6b1ff61284 updated input files 2016-10-24 09:50:46 -04:00
Sam Shaner
b0a5be1c1c updated documentation and comments in Python API 2016-10-24 09:12:57 -04:00
Sam Shaner
716b6a92f5 removed element expansion in Fortran and added it to Python API 2016-10-23 16:11:18 -04:00
Sam Shaner
5708ff9d77 converted isotopes from iterator to list for python 3 compatibility 2016-10-20 09:46:29 -04:00
Sam Shaner
2b8c0d4561 Merge remote-tracking branch 'upstream/develop' into element-wo 2016-10-19 13:37:29 -04:00
Sam Shaner
6b687e9bf5 updated test results and fixed a few typos 2016-10-18 08:59:59 -04:00
Sam Shaner
052417b9c3 changed enrichment warning from 6 to 5 % 2016-10-18 08:25:41 -04:00
Sam Shaner
1505a9297f added warning for enrichments over 6 percent and removed some elements from elements wo test 2016-10-18 07:30:35 -04:00
Sam Shaner
867fdf1ac8 fixed typo in material.py 2016-10-17 21:48:28 -04:00
Sam Shaner
cf34c229a7 fixed issue with normalizing mass fractions and reverted documentation 2016-10-17 21:45:24 -04:00
Sam Shaner
f059475bca removed enrichment from Fortran code and embedded in Python API 2016-10-17 21:09:38 -04:00
Sam Shaner
663636ce2e added enrichment and wo element support in Python API and added new tests 2016-10-16 22:09:25 -04:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
fbcb15f8c5 Simplify usage of DataLibrary.register_file() 2016-09-23 06:26:33 -05:00
Paul Romano
0fcc44bedb Fix specification of material temperature. Allow XML files to be exported to
non-default paths.
2016-09-13 23:16:10 +02:00
Paul Romano
46cb02efe4 Remove old default_temperature specification in materials.xml 2016-09-06 22:25:12 -05:00
Adam Nelson
766c93e4f7 Got all the tests passing! 2016-08-23 20:06:14 -04:00
Adam Nelson
6ff1d758c3 Changes to modify resonance scattering with 0K data and getting some tests passing 2016-08-23 19:17:42 -04:00
Adam Nelson
1d551037ce updating tests and setting it so the closest temperature is used 2016-08-22 21:25:47 -04:00
Adam Nelson
dfe2420b4a Updated pyapi and docs to support new default_temperature/temperature and lack of default_xs/xs 2016-08-21 14:36:58 -04:00
Paul Romano
ef6b60010e Merge pull request #700 from wbinventor/lattice-name
OpenCG Lattice Names
2016-08-12 10:03:16 -05:00
Will Boyd
6ecf89424e Added warning message for S(a,b) table renaming 2016-08-12 10:02:39 -04:00