physiopy / physioqc

Toolbox for physiological data (Automagic) Quality Control
Apache License 2.0
2 stars 8 forks source link

ENH: add html report to `physioqc` #1

Open jsheunis opened 1 year ago

jsheunis commented 1 year ago

This issue serves as a discussion point for adding automated html reports to the physioqc pipeline. Please share your thoughts!

The idea

One the physioqc pipeline has done its thing, the output will be a bunch of processed timeseries and summary metric data. It would be great to see all of these presented in an easy to read, visual, and interactive report. The report will probably contain details such as:

Existing work / relevant info

@smoia pointed me to this PR that aims to add html reports to phys2bids. If I understand it correctly, it uses an html template with some basic css, and python code to automate the process of writing the correct string values (mostly relative locations of figures, or strings) to variables in the template.

It could be an idea to make that report (once merged) compatible with the to-be-developed one for physioqc. Or to change the phys2bids one to make it compatible with whatever the physioqc report will become.

Framework suggestions

As simple as possible is probably a good starting point, to keep complexity down and encourage contributions.

jsheunis commented 1 year ago

@smoia please tag anyone you think might want to contribute

danibene commented 1 year ago

Hi! I used Plotly to make interactive HTML reports for NeuroKit

Feel free to adapt or maybe we can find some way to work together as it's currently not implemented for all signals, just PPG

jsheunis commented 1 year ago

This looks great, thanks for the links! Working together on this sounds good to me :)