Gadgetron Dataflow Monitor
Project description
A Gadgetron Dataflow Monitor
A Gadgetron debugger tools by Python with QT plus matplotlib, with love by Cong Zhang
你好
Quick Start
Server side
## --begin-- step just need when developing in loop, no need for end user after install
cd src
## --end-- step just need when developing in loop, no need for end user after install
gadgetron
1. Tester side(gadget start by gadgetron)
## --begin-- step just need when developing in loop, no need for end user after install
cd src
## --end-- step just need when developing in loop, no need for end user after install
gadgetron_ismrmrd_client -f gadm/test_datas/testdata.h5 -C gadm/use_in_gadgetron_sample/python_monitor_start_automate.xml
2. Tester side(gadget start by hand)
## --begin-- step just need when developing in loop, no need for end user after install
cd src
export PYTHONPATH=$PWD
## --end-- step just need when developing in loop, no need for end user after install
python -m gadm.gadgetron_dataflow_monitor
## --begin-- step just need when developing in loop, no need for end user after install
cd src
## --end-- step just need when developing in loop, no need for end user after install
gadgetron_ismrmrd_client -f gadm/test_datas/testdata.h5 -C gadm/use_in_gadgetron_sample/python_monitor_start_automate.xml
Internal
- [Core]A QT+Matplotlib UI application to show data
- Data Producer run in a standalone Thread to produce data and send to UI by trigger signal
- The core Application can be use under three ways:
- As a start by hand external application which listen to gadgetron stream data
- Use as data process gadget which start by gadgetron
- Use as normal Python UI application which read data from ismrmrd file
TODO
- fix the speed problem of realtime update
- fix the initial focus problem(can not receive key event unless user click on canvas)?
- add a sample to read data from testdata and show directly? [done]
- rename and publish to pypi, project structure may need to adjust [wip]
- add a screen gif to demo how to use ( use peek software )
- CD by github action
References
- https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html
- https://github.com/gadgetron/GadgetronOnlineClass/blob/master/Courses/Day1/Lecture2/visualization/visualization.py
- https://github.com/matplotlib/matplotlib/pull/19255
- https://github.com/anntzer/matplotlib/tree/qt6
Warning
This depend on new released Python with Qt 6, and unpublished mathplotlib with QT6 support!
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
Built Distribution
Close
Hashes for gadgetron-dataflow-monitor-0.96.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd2330a77d62bff3f61ddffa9eea8fb7a146e692f271655bbd8a5c4fb7580ca1 |
|
MD5 | 59b7d756845585b9ff1ec0e2189e86d0 |
|
BLAKE2b-256 | 2cb8efa1d51ad28e9cadf51476560bb8252265eddfc0c8facdd9ce262c0db292 |
Close
Hashes for gadgetron_dataflow_monitor-0.96.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7005ed587c9d1c62894de49f819f3f4c301a072dd9ad2ffda5de029ce9ad32c0 |
|
MD5 | 0d298aa3477ed57e663b22dbbd292516 |
|
BLAKE2b-256 | aebb2c8fc68aca2737737ce43124ecc227f6fa133fc73a8edfc44e2cb08c1a0a |