Skip to main content

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


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.3.7.tar.gz (690.6 kB view details)

Uploaded Source

File details

Details for the file gregory_online-0.3.7.tar.gz.

File metadata

  • Download URL: gregory_online-0.3.7.tar.gz
  • Upload date:
  • Size: 690.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gregory_online-0.3.7.tar.gz
Algorithm Hash digest
SHA256 ffd510ae4408ce3653a333d7faf1c1a797c00f50ba04acd15bac3fb1c7f52732
MD5 d1a61be83b57b2d2088b01ba56d7138f
BLAKE2b-256 d697835a781ab8710fb6afa0c1c90e0871cecf7fac734c9ddf66a9bc82a73101

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page