Skip to content

Notes on the organization and size of reports

Chris Markiewicz edited this page Dec 5, 2017 · 3 revisions

Size of reports conflicts with the idea of embedding everything in only one file.

These ideas come from https://github.com/poldracklab/fmriprep/issues/478 :

  • Drop some visualizations (maybe we can make aCompCor and its visualization optional?)
  • Crop some plots (for example FAST)
  • Split the report into multiple files:
    • one per run (or session containing functional runs) + one for anat and fieldmaps
    • do not embed svgs (html + many svgs)
  • Try to improve compression (try Guetzli for example)
  • Reduce number of tiles for some plots
  • One html + one fat svg: https://github.com/jonathantneal/svg4everybody . We would have then the main html + one single, big svg, and this library loads the appropriate panel from the big file when you need to render it in the browser (meaning, only one svg loaded at a time).
  • Combine plots:
    • Plot together: BOLD brainmask, aCompCor and tCompCor masks. Each contour with a different color. Having only one bitmap instead of 3 will definitely reduce size.
    • Plot together: FSL FAST and T1w brain mask. Or better: FAST contours but rendered on the whole image (so we can see the skull).