Online watching HTTP server of ROOT on port 9009
Project description
Project gregoryonline
experimental code to online survey root spectra from THTTPServer
Last notice: changing to keybssh NOW
Usage
Based on ~/.config/gregoryonline/cfg.json
{
"placeholder": true,
"filename": "~/.config/gregory_online/cfg.json",
"spectrum": "b0c00",
"udp_ip": "127.0.0.1",
"server": "x.x.x.x",
"poll_time": 5
}
it connects to
./bin_gregory_online.py
# OR override the server and spectrum name
./bin_gregory_online.py -s 127.0.0.1 -h b0c00
Install
Github? pip3 in future
UI Components
There are two:
- topbar
- keyenter
The topbar runs in the background, provides two bars. The second one is the keyboard input bar.
Engines of fetch
- keep getting histo from server
- keep historical spectra and be prepared to show dif
- keep track of age and show rate
- show bg spectrum rate for comparison
Version 2
histoglobalcont.py Container for histograms
histonpops.py operations between np ad th1
histoio.py load and save
bingregoryonline.py
config.py
fetchnp.py
getspe.py
keyenter.py
mockserver.py
rebin.py
setup.py
topbar.py
utilone.py
version.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gregory_online-0.2.7.tar.gz
(31.9 kB
view hashes)