Skip to content

Commit 0905a4a

Browse files
committed
modified: Cargo.lock
modified: Cargo.toml modified: README.md deleted: etc/amdc_2016.txt modified: nndc_excitation_level_getter/nndc_excitation_levels_06202024.csv modified: nndc_excitation_level_getter/src/excitation_fetcher.rs modified: src/app.rs deleted: src/excitation_fetchor.rs new file: src/excitation_levels_nndc.rs modified: src/lib.rs
1 parent 31b73f7 commit 0905a4a

File tree

10 files changed

+2555
-3709
lines changed

10 files changed

+2555
-3709
lines changed

Cargo.lock

Lines changed: 14 additions & 977 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,14 @@ log = "0.4"
1616
serde = { version = "1", features = ["derive"] }
1717

1818
egui_plot = { version = "0.27.2", features = ["serde"] }
19-
scraper = "0.18.1"
20-
regex = "1.10.3"
2119

2220
# Conditional dependencies for native and wasm targets
2321
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2422
env_logger = "0.10"
25-
reqwest = { version = "0.11.24", features = ["blocking", "json"] }
26-
tokio = { version = "1.37", features = ["full"] }
2723
rfd = "0.13"
2824

2925
[target.'cfg(target_arch = "wasm32")'.dependencies]
30-
wasm-bindgen = "0.2"
3126
wasm-bindgen-futures = "0.4"
32-
web-sys = { version = "0.3", features = ["Window", "Request", "Response", "RequestInit", "RequestMode", "Response", "console"] }
33-
js-sys = "0.3"
34-
url = "2.2"
3527

3628
# Add getrandom dependency with js feature for WASM
3729
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
@@ -46,10 +38,3 @@ opt-level = 2 # fast and small wasm
4638
opt-level = 2
4739

4840
[patch.crates-io]
49-
# If you want to use the bleeding edge version of egui and eframe:
50-
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
51-
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }
52-
53-
# If you fork https://github.com/emilk/egui you can test with:
54-
# egui = { path = "../egui/crates/egui" }
55-
# eframe = { path = "../egui/crates/eframe" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPS Plot
22

3-
This tool is intended to be used for guiding the settings of the SPS to show specific states on the focal plane detector. The user gives the program reaction information, and the program runs through the kinematics to calculate the energies of ejecta into the the SESPS. To evaluate different states, the program scrapes a list of levels from NNDC, and these levels are then passed on to the reaction handler. These levels are then shown on the screen with labels. The labels can be modified to show either the excitation energy of the state, the kinetic energy of the ejectile, or the focal plane z-offset for a state. Note that since levels are obtained from NNDC, SPSPlot requires an internet connection.
3+
This tool is intended to be used for guiding the settings of the SPS to show specific states on the focal plane detector. The user gives the program reaction information, and the program runs through the kinematics to calculate the energies of ejecta into the the SE-SPS using the mass values based on the AMDC 2016 Atomic Mass Evaluation. To evaluate different states, the program uses a list of levels from NNDC that was generated on 6/20/2024 (some levels may not be parsed correctly and should be used as a rough estimate), and these levels are then passed on to the reaction handler. These levels are then shown on the screen with labels. The labels can be modified to show either the excitation energy of the state, the kinetic energy of the ejectile, or the focal plane z-offset for a state.
44

55
This tool is a simplier version of a tool located in [SPSPy](https://github.com/gwm17/spspy) and written in rust.
66

@@ -18,4 +18,4 @@ On Fedora Rawhide you need to run:
1818

1919
`dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel`
2020

21-
To view online visit https://alconley.github.io/sps_plot (NOT YET IMPLEMENTED I NEED THE MASTER CODER (GORDAN) TO HELP :) )
21+
To run the program online visit [sps_plot](https://alconley.github.io/sps_plot)

0 commit comments

Comments
 (0)