fudge.gnds.reactions package¶
Submodules¶
fudge.gnds.reactions.base module¶
-
class
fudge.gnds.reactions.base.
base_reaction
(outputChannel, ENDF_MT, documentation=None, label=None, process=None)[source]¶ Bases:
xData.ancestry.ancestry
Base class for all types of reaction.
-
ancestryMembers
= ('crossSection', 'doubleDifferentialCrossSection', 'outputChannel')¶
-
calculateAverageProductData
(style, indent='', **kwargs)[source]¶ Calculate average product data.
Parameters: - style – The style to use.
- indent – string; The amount to indent and verbose output.
- kwargs – string; All other parameters.
Returns:
-
check
(info)[source]¶ This method is usually not called directly. Use reactionSuite.check() instead.
- Checks cross section and outputChannel (and differential cross sections if available). Checks include:
- do Z/A balance? do Q-value and thresholds agree? Does cross section domain agree with each product distribution/multiplicity domain? Does energy balance?
@:param info: dict @:return list of warnings
-
crossSection
¶
-
domainMax
¶
-
domainMin
¶
-
domainUnit
¶
-
doubleDifferentialCrossSection
¶
-
getENDL_CS_ENDF_MT
()[source]¶ Returns the reaction’s ENDL C, S and ENDF’s MT values as integers in a python dictionary with keys ‘C’, ‘S’ and ‘MT’ (e.g., { ‘C’ : 11, ‘S’ : 1, ‘MT’ : 53 }).
-
getQ
(unit, final=True)[source]¶ Returns the Q-value for this reaction. Converted to float if possible, otherwise a string value is returned.
-
heatCrossSection
(temperature, EMin, lowerlimit=None, upperlimit=None, interpolationAccuracy=0.001, heatAllPoints=False, doNotThin=True, heatBelowThreshold=True, heatAllEDomain=True, setThresholdToZero=False)[source]¶
-
label
¶ Returns the reaction’s label.
-
classmethod
parseXMLNode
(element, xPath, linkData)[source]¶ Translate a <reaction> element from xml into a reaction class instance.
-
process
¶
-
fudge.gnds.reactions.fissionComponent module¶
This module contains the fissionComponent class
-
class
fudge.gnds.reactions.fissionComponent.
fissionComponent
(outputChannel, ENDF_MT, documentation=None, label=None, process=None)[source]¶ Bases:
fudge.gnds.reactions.base.base_reaction
Special case of reaction, for storing 1st, 2nd, 3rd, etc fission chances when we also have total.
-
moniker
= 'fissionComponent'¶
-
fudge.gnds.reactions.production module¶
This module contains the production class, for storing production cross section of radioactive products
-
class
fudge.gnds.reactions.production.
production
(outputChannel, ENDF_MT, documentation=None, label=None, process=None)[source]¶ Bases:
fudge.gnds.reactions.base.base_reaction
Production reactions are another special case of the <reaction> class, used to store the cross section for producing specific radioactive products. Requires a cross section and product id, but no distributions. As with the summedReaction, ‘outputChannel’ should be a channels.simpleOutputChannel instance.
-
moniker
= 'production'¶
-
fudge.gnds.reactions.reaction module¶
This module contains the reaction class.
-
class
fudge.gnds.reactions.reaction.
reaction
(outputChannel, ENDF_MT, documentation=None, label=None, process=None)[source]¶ Bases:
fudge.gnds.reactions.base.base_reaction
This is the class for a normal gnds reaction.
-
ancestryMembers
= ('crossSection', 'doubleDifferentialCrossSection', 'outputChannel', 'availableEnergy', 'availableMomentum')¶
-
moniker
= 'reaction'¶
-