diff --git a/src/rose/elastic_emulator.py b/src/rose/elastic_emulator.py deleted file mode 100644 index 7683fd3e..00000000 --- a/src/rose/elastic_emulator.py +++ /dev/null @@ -1,12 +0,0 @@ -import numpy as np -from numba import jit -from numba.experimental import jitclass - - -dtype = [] - - -@jitclass(dtype) -class ElasticScatterEmulator: - def __init__(self): - pass diff --git a/src/rose/utility.py b/src/rose/utility.py index 056996c8..10516665 100644 --- a/src/rose/utility.py +++ b/src/rose/utility.py @@ -74,7 +74,7 @@ def xs_calc_neutral( xst += (l + 1) * (1 - np.real(splus[l])) + l * (1 - np.real(sminus[l])) dsdo = (np.absolute(a) ** 2 + np.absolute(b) ** 2) * 10 - Ay = np.imag(a.conj() * b) * 10 / dsdo + Ay = 2 * np.imag(a.conj() * b) * 10 / dsdo xsrxn *= 10 * np.pi / k**2 xst *= 10 * 2 * np.pi / k**2