This release is a pre-release and may not be stable for production use.
ROSE
Reduced-Order Scattering Emulator
ROSE makes it easy to build and train a scattering emulator.
The primary class is ReducedBasisEmulator. To create an instance, minimally, an instance of the Interaction class, a set of training points, the energy, and angular momentum need to be specified. For example,
import rose
energy = 50 # MeV
ell = 0 # S waves
# The we are varying two parameters of the Minnesota potential, so the training
# space is an array of 2-component arrays
training_points = np.array([
[119.51219512195122, -14.634146341463415],
[139.02439024390245, -4.878048780487805],
[158.53658536585365, -48.78048780487805],
[178.0487804878049, -117.07317073170732],
[197.5609756097561, -131.70731707317074],
[217.0731707317073, -126.82926829268293],
[236.58536585365854, -82.92682926829268],
[256.0975609756098, -175.609756097561],
[275.609756097561, -19.51219512195122],
[295.1219512195122, -170.73170731707316]
])
# The Minnesota potential has already been hard-coded in ROSE as
# rose.MN_Potential.
rbe = rose.ReducedBasisEmulator(
rose.MN_Potential,
training_points,
energy,
ell
)
# Now, to get a the wave function or phase shift at a new point in parameter
# space, we simply call...
theta = np.array([200,-91.85])
phi = rbe.emulate_wave_function(theta)
# or...
delta = rbe.emulate_phase_shift(theta)
Metadata
Release files for nuclear-rose 0.9.4a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nuclear-rose-0.9.4a0.tar.gz | 642.1 kB | Without provenance | Details for nuclear-rose-0.9.4a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nuclear_rose-0.9.4a0-py3-none-any.whl | Python 3 | none | any | Details for nuclear_rose-0.9.4a0-py3-none-any.whl |
Total release size: 671.9 kB
Release files / nuclear-rose-0.9.4a0.tar.gz
| Download URL | nuclear-rose-0.9.4a0.tar.gz |
|---|---|
| Size | 642.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
832a1431a177b62a252f9798f945d7538f038666a88a4cacf29cb23ec48c2582
|
|
BLAKE2b-256 checksum How to use checksums |
93c94777b37a689ba2e2a2ecf8074fd6d3200ee7b43221f87455fb89bc07993e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / nuclear_rose-0.9.4a0-py3-none-any.whl
| Download URL | nuclear_rose-0.9.4a0-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abd80c1d853e060df5d276a056c500e5dbdaf7622cca1d535ddf81ae67bd72d5
|
|
BLAKE2b-256 checksum How to use checksums |
1327e643a975385d695d13b2e11df1fc3113a91f8b66269503ebce7a5d2cfbdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for nuclear-rose 0.9.4a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.