Package jhd.Interpolators
Class XcomPairInterpolator
java.lang.Object
jhd.Interpolators.XcomPairInterpolator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final double -
Method Summary
Modifier and TypeMethodDescriptionstatic doublebetweenThresholdAndFirstGrid(double energyMeV, double thresholdMeV, double[] gridMeV, double[] sigma) ChatGTP6 Luna Interpolates one pair-production channel between its threshold and its first standard-grid point above threshold.
-
Field Details
-
NUCLEAR_FIELD_THRESHOLD_MEV
public static final double NUCLEAR_FIELD_THRESHOLD_MEV- See Also:
-
ELECTRON_FIELD_THRESHOLD_MEV
public static final double ELECTRON_FIELD_THRESHOLD_MEV- See Also:
-
-
Method Details
-
betweenThresholdAndFirstGrid
public static double betweenThresholdAndFirstGrid(double energyMeV, double thresholdMeV, double[] gridMeV, double[] sigma) ChatGTP6 Luna Interpolates one pair-production channel between its threshold and its first standard-grid point above threshold.- Parameters:
energyMeV- photon energy, in MeVthresholdMeV- pair-production threshold, in MeVgridMeV- standard-grid energies above threshold, ascendingsigma- tabulated cross sections at gridMeV, same units throughout- Returns:
- interpolated cross section, in the units of sigma
-