Skip to main content

Gadgetron Dataflow Monitor

Project description

A Gadgetron Dataflow Monitor

A Gadgetron debugger tools by Python with QT plus matplotlib, with love by Cong Zhang

Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

你好

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

  1. [Core]A QT+Matplotlib UI application to show data
  2. Data Producer run in a standalone Thread to produce data and send to UI by trigger signal
  3. The core Application can be use under three ways:
    1. As a start by hand external application which listen to gadgetron stream data
    2. Use as data process gadget which start by gadgetron
    3. Use as normal Python UI application which read data from ismrmrd file

TODO

  1. fix the speed problem of realtime update
  2. fix the initial focus problem(can not receive key event unless user click on canvas)?
  3. add a sample to read data from testdata and show directly? [done]
  4. rename and publish to pypi, project structure may need to adjust [wip]
  5. add a screen gif to demo how to use ( use peek software )
  6. CD by github action

References

  1. https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html
  2. https://github.com/gadgetron/GadgetronOnlineClass/blob/master/Courses/Day1/Lecture2/visualization/visualization.py
  3. https://github.com/matplotlib/matplotlib/pull/19255
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gadgetron-dataflow-monitor-0.96.2.tar.gz (364.0 kB view details)

Uploaded Source

Built Distribution

gadgetron_dataflow_monitor-0.96.2-py3-none-any.whl (365.0 kB view details)

Uploaded Python 3

File details

Details for the file gadgetron-dataflow-monitor-0.96.2.tar.gz.

File metadata

  • Download URL: gadgetron-dataflow-monitor-0.96.2.tar.gz
  • Upload date:
  • Size: 364.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for gadgetron-dataflow-monitor-0.96.2.tar.gz
Algorithm Hash digest
SHA256 242f8543329344e94de8e108ee76473673f9f32685cf61c9425f54cc18e71093
MD5 d1a1a5cbdcb7f5f47374a820ccf1eeef
BLAKE2b-256 149a7000dea950e8ad2c355b1a45fd6cd85be7034b7945022b0579e2a6521e0c

See more details on using hashes here.

File details

Details for the file gadgetron_dataflow_monitor-0.96.2-py3-none-any.whl.

File metadata

  • Download URL: gadgetron_dataflow_monitor-0.96.2-py3-none-any.whl
  • Upload date:
  • Size: 365.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for gadgetron_dataflow_monitor-0.96.2-py3-none-any.whl
Algorithm Hash digest
SHA256 919ae025043007f4fa9a4dbff87f186803dc6a29193532076c8641f047920883
MD5 5b7de7ad01fdd5fd41fc70130b085e8e
BLAKE2b-256 e9f4f1d16e1b9d7f3de99bbbdbcdcbc7caf18f04141e713f48e783205fb8a6bb

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