brainhack-boston / brainhack-boston.github.io

Brainhack Boston
https://brainhack-boston.github.io
Apache License 2.0
1 stars 22 forks source link

[PROJECT] Python framework for MRI dashboards #29

Open pwighton opened 1 year ago

pwighton commented 1 year ago

What is the best python framework for creating MRI dashboards that continually update?

We have the ability to stream both imaging data and k-space data from Siemens MRI machines. If we want to create a dashboard to show the MR tech what is happening in real-time, what is the best python framework to use? I have previously explored using streamlit which doesn't seem to support real-time updates.

pwighton commented 7 months ago

Some initial exploration here: https://github.com/pwighton/socket2dash

hanayik commented 7 months ago

This seems like an interesting project. What content do you want in the dashboard? Simple charts? Reconstructed images? I know it’s not Python, but the chart-js-streaming plugin looks neat. If streaming imaging data… I wonder if NiiVue could be used as a widget in a dashboard? Again, not python so maybe out of scope for your project.

pwighton commented 7 months ago

Thanks @hanayik !

The 2 dashboards we have though about so far is simple charts to plot motion estimates and a volumetric viewer to view online reconstructions (for radial or center-out readouts).

That chart streaming plugin looks neat. I'll check it out. And it would be great if there was a way to send volumetric updates to niivue. (As an aside, it would be super cool if niivue could support a streaming format like zarr, but I realize that may be out-of-scope)

It doesn't necessarily have to be in python. It's what I know best, so what I started with.