fudge.processing.deterministic package¶
Submodules¶
fudge.processing.deterministic.transferMatrices module¶
-
fudge.processing.deterministic.transferMatrices.
EEpMuP_TransferMatrix
(style, tempInfo, productFrame, crossSection, energyAngularData, multiplicity, comment=None)[source]¶ This is ENDF MT=6 LAW=1, LANG=1,11-15 type data.
-
fudge.processing.deterministic.transferMatrices.
EEpPDataToString
(EEpPData, changeInterpolationQualifierWarning=False)[source]¶
-
fudge.processing.deterministic.transferMatrices.
ELEpP_TransferMatrix
(style, tempInfo, crossSection, productFrame, LEEpPData, multiplicity, comment=None)[source]¶ This is for ENDL I = 4 data with l > 0. This form is deprecated.
-
fudge.processing.deterministic.transferMatrices.
ENDFEMuEpP_TransferMatrix
(style, tempInfo, productFrame, crossSection, angularEnergyData, multiplicity, comment=None)[source]¶ This is ENDF MF = 6, LAW = 7 type data.
-
fudge.processing.deterministic.transferMatrices.
ENDLEMuEpP_TransferMatrix
(style, tempInfo, crossSection, productFrame, angularData, EMuEpPData, multiplicity, comment=None)[source]¶ This is LLNL I = 1, 3 type data.
-
fudge.processing.deterministic.transferMatrices.
KalbachMannDataToString
(KalbachMannData, energy_in_unit)[source]¶
-
fudge.processing.deterministic.transferMatrices.
KalbachMann_TransferMatrix
(style, tempInfo, crossSection, particlesData, KalbachMannData, multiplicity=1, comment=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
LegendreDataToString
(LegendreData, changeInterpolationQualifierWarning=False)[source]¶
-
fudge.processing.deterministic.transferMatrices.
Legendre_TransferMatrix
(style, tempInfo, productFrame, crossSection, LegendreData, multiplicity, comment=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
NBodyPhaseSpace
(style, tempInfo, crossSection, numberOfProducts, mTotal, Q, multiplicity=1, comment=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
angularToString
(angularData, crossSection, weight=None, twoBody=False, changeInterpolationQualifierWarning=False)[source]¶
-
fudge.processing.deterministic.transferMatrices.
commonDataToString
(comment, style, tempInfo, crossSection, productFrame, multiplicity=None, energy_in_unit=None, weight=None, photonFrame='lab')[source]¶
-
fudge.processing.deterministic.transferMatrices.
comptonScattering
(style, tempInfo, productFrame, scatteringFunction, comment=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
crossSectionToString
(style, crossSection, energy_in_unit=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
discreteGammaAngularData
(style, tempInfo, gammaEnergy, crossSection, angularData, multiplicity, comment=None)[source]¶ Currently, only isotropic (i.e., l = 0) data are returned. That is, lMax and angularData are ignored. This routine is also used for pair-production which pass angularData as None.
-
fudge.processing.deterministic.transferMatrices.
doubleDifferential_EEpMuP
(style, tempInfo, productFrame, crossSection, EEpMuPData, multiplicity, comment=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
energyFunctionToString
(energyData, weight=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
executeCommand
(logFile, file, cmd, workDir, workFile)[source]¶
-
fudge.processing.deterministic.transferMatrices.
multiplicityToString
(style, _multiplicity, energy_in_unit=None)[source]¶
-
fudge.processing.deterministic.transferMatrices.
primaryGammaAngularData
(style, tempInfo, crossSection, energyData, angularData, multiplicity=1, comment=None)[source]¶ Currently, only isotropic (i.e., l = 0) data are returned. That is, lMax and angularData are ignored. massRatio is the target mass divide by the sum of the projectile and target masses.
This function perform the integration
TM = int_g dE int_h dE’ S(E) M(E) f(E) P(E -> E’) / int_g dE f(E)where int_g is the integral of E from E_i to E_{i+1}, int_g is the integral of E’ from E’_j to E’_{j+1}, S(E) is the cross section, M(E) is the products multiplicity, f(E) is the flux weighting and P(E -> E’) is the probability for a projectile of energy E producing a primary gamma of energy E’ for binding energy bindingEnergy. This function assumes that M(E) is a constant. For primary gamma’s captured into binding energy bindingEnergy P(E -> E’) = deltaFunction( E’ - ( bindingEnergy + massRatio E ) ) where massRatio = mt / ( mp + mt ), mp is the projectile’s mass and mt is the target’s mass. Note, this formula is from the ENDF manual which ignores the recoil of the residual nucleus.
-
fudge.processing.deterministic.transferMatrices.
threeDListToString
(data, linearizeXYs=False)[source]¶
-
fudge.processing.deterministic.transferMatrices.
twoBodyTransferMatrix
(style, tempInfo, productFrame, crossSection, angularData, Q, weight=None, comment=None)[source]¶ Generate input and call processing code to generate a transfer matrix for two-body angular distribution. If the distribution is actually made up of two different forms in different energy regions, this function calls itself in the two regions and sums the result.
-
fudge.processing.deterministic.transferMatrices.
twoBodyTransferMatrix2
(style, tempInfo, crossSection, angularData, Q, productFrame, weight=None, comment=None)[source]¶ Helper function for twoBodyTransferMatrix. This should be called separately for every interpolation region within a regions2d form.
-
fudge.processing.deterministic.transferMatrices.
twoDToString
(label, data, addHeader=True, addExtraBlankLine=True)[source]¶