From 14606bb19308083bfe4dd5c00c441c8f6fd4624d Mon Sep 17 00:00:00 2001 From: beykyle Date: Wed, 4 Mar 2026 15:59:13 -0500 Subject: [PATCH 1/2] add unmaintained note --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a4166b77..f38e9c5f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ ROSE makes it easy to build and train a scattering emulator. ROSE enables aspiri For any bug reports or feature requests, please make use of the Github issues tab on the repository. We also welcome all pull requests for software, documentation, and user-contributed tutorials! +## Note: + + +While this project did lead to a successful emulator, it was found that a particular type of high-fidelity solver is actually more useful in a Bayesian calibration context, which lead to the development of BAND software [jitR](https://github.com/beykyle/jitr). Currently, this is what we use for calibration of nuclear reaction models, and is what we recomend. + +This repository and the [associated publication](https://journals.aps.org/prc/abstract/10.1103/PhysRevC.109.044612) may still be of interest, so it will remain available, but we will not be maintaining the software package or adding new features. If you want to use ROSE, please feel free to do so, but be aware that it is no longer being actively developed. + +The application of model order reduction and emulation to nuclear reactions is still an exciting area of research, so the tool or technique we recommend for Bayesian calibration of reaction models may change in the future! + +-- ROSE team + ## Installation ROSE is hosted at [pypi.org/project/nuclear-rose/](https://pypi.org/project/nuclear-rose/). To install as a user, run the following From 054980d0bb234771aa9ebebb86bea8da418dcee7 Mon Sep 17 00:00:00 2001 From: beykyle Date: Wed, 4 Mar 2026 21:01:08 +0000 Subject: [PATCH 2/2] Apply automatic changes --- src/rose/training.py | 4 ++-- src/rose/utility.py | 4 ++-- tests/benchmark.py | 1 - tests/generate_benchmark_data.py | 2 -- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/rose/training.py b/src/rose/training.py index 430c5f22..71984132 100644 --- a/src/rose/training.py +++ b/src/rose/training.py @@ -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] @@ -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$" diff --git a/src/rose/utility.py b/src/rose/utility.py index 423304ab..073bdbde 100644 --- a/src/rose/utility.py +++ b/src/rose/utility.py @@ -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)) @@ -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 diff --git a/tests/benchmark.py b/tests/benchmark.py index 06bb3bc6..6fd532cf 100644 --- a/tests/benchmark.py +++ b/tests/benchmark.py @@ -13,7 +13,6 @@ import rose - ANGLES = np.linspace(0, np.pi, 100) COSTHETA = np.cos(ANGLES) diff --git a/tests/generate_benchmark_data.py b/tests/generate_benchmark_data.py index 70823ae5..02029257 100644 --- a/tests/generate_benchmark_data.py +++ b/tests/generate_benchmark_data.py @@ -14,7 +14,6 @@ from benchmark import BenchmarkData - # In[2]: @@ -87,7 +86,6 @@ import matplotlib.pyplot as plt - # In[10]: