Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
numba>=0.5
pandas>=2.0
seaborn>=0.10
numpy>=1.21.5
scipy>=1.10.1
mpmath>=1.2.1
tqdm>=4.62.3
jitr>=2.1.1
mkdocstrings>=0.22.0
mkdocstrings-python>=1.1.2
mkdocs-material>=9.1.18
mkdocs-jupyter>=0.24.2
numba>=0.5,<0.67
pandas>=2.0,<4
seaborn>=0.10,<0.14
numpy>=1.21.5,<2.5
scipy>=1.10.1,<1.17
mpmath>=1.2.1,<2
tqdm>=4.62.3,<5
jitr>=2.1.1,<2.4
mkdocstrings>=0.22.0,<2
mkdocstrings-python>=1.1.2,<3
mkdocs-material>=9.1.18,<10
mkdocs-jupyter>=0.24.2,<0.27
4 changes: 2 additions & 2 deletions src/rose/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def build_sae(
ScatteringAmplitudeEmulator.from_train
"""

(n_basis, n_EIM) = sae_config
n_basis, n_EIM = sae_config

base = base_interaction.interactions[0][0]

Expand Down Expand Up @@ -398,7 +398,7 @@ def _multiple_formatter(x, pos):
den = denominator
num = int(np.rint(den * x / number))
com = gcd(num, den)
(num, den) = (int(num / com), int(den / com))
num, den = (int(num / com), int(den / com))
if den == 1:
if num == 0:
return r"$0$"
Expand Down
4 changes: 2 additions & 2 deletions src/rose/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def numerov_kernel(
# intial conditions
x0, xf = domain
xnm = x0
(y0, y0_prime) = (initial_conditions[0], initial_conditions[1])
y0, y0_prime = (initial_conditions[0], initial_conditions[1])

# number of steps
N = int(np.ceil((xf - x0) / dx))
Expand Down Expand Up @@ -719,7 +719,7 @@ def numerov_kernel_meshless(
# intial conditions
x0, xf = domain
xnm = x0
(y0, y0_prime) = (initial_conditions[0], initial_conditions[1])
y0, y0_prime = (initial_conditions[0], initial_conditions[1])

# use Taylor expansion for y1
y0_dbl_prime = -g(x0, *g_args) * y0
Expand Down
1 change: 0 additions & 1 deletion tests/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import rose


ANGLES = np.linspace(0, np.pi, 100)
COSTHETA = np.cos(ANGLES)

Expand Down
2 changes: 0 additions & 2 deletions tests/generate_benchmark_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

from benchmark import BenchmarkData


# In[2]:


Expand Down Expand Up @@ -87,7 +86,6 @@

import matplotlib.pyplot as plt


# In[10]:


Expand Down