Skip to main content

A package to view Nifti files in a BIDS dataset and generate QC plots.

Project description

PyPI Downloads

CPAC-QC Plotting App

PDF Report

PDF report example PDF report here: PDF REPORT

HTML Report

CPAC-QC

Overview

The CPAC-qc Plotting App is a tool designed to generate quality control plots for the CPAC (Configurable Pipeline for the Analysis of Connectomes) outputs. This app helps in visualizing and assessing the quality of neuroimaging data processed through CPAC.

Updates

  • Outputs PDF (default) and HTML report (with -html flag) now.
  • Default config has overlays.
  • Images on PDF report will follow the order mentioned in overlay.csv provided or default.
  • Added Bookmarks on PDF report for easy navigation.

Features

  • Generate bulk or subject specific plots and reports.

Requirements

  • BIDS dir with .nii.gz images in it.
  • (Optional) A html viewing tool or extension
  • PDF viewer

Installation

pip install CPACqc

Usage

  1. Minimal code
cpacqc -d bids_dir

This will output a pdf report report.pdf in your current directory.

  1. HTML report
cpacqc -d bids_dir -html

This will create a pdf report.pdf along with a results dir with HTML report index.html and related files.

  1. Running single/multiple Subjects
cpacqc -d bids_dir -s subject-id_1 subject-id_2

You can hand pick a single or a multiple subjects with -s flag

  1. Running with defined number of procs
cpacqc -d path/to/bids_dir  -n number-of-procs

Note: if -n is not provided default is 8

  1. Running all Subjects in the dir
cpacqc -d /bids_dir 
  1. Providing Overlays config
cpacqc -d path/to/bids_dir -c ./overlay.csv

where overlay.csv can be in format

output,underlay,datatype
desc-preproc_bold,desc-preproc_T1w,func

and so on. If not provided a default config will be used.

Viewing

Use any PDF viewer to view *report.pdf file.

If -html enabled, Use any .html viewer extension to view index.html in the results dir.

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

cpacqc-0.2.10.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpacqc-0.2.10-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file cpacqc-0.2.10.tar.gz.

File metadata

  • Download URL: cpacqc-0.2.10.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cpacqc-0.2.10.tar.gz
Algorithm Hash digest
SHA256 22d4773b9a36b593c5bddc3f11355b3b414b5a653a9f7d8796ff7ac493780202
MD5 4b5d14e6f888720642c3bdc5fa063a48
BLAKE2b-256 c65dd52adb37a41ad7b8cfdb5ccee1bcd4059ee7af60885b74de5ac16aafeef6

See more details on using hashes here.

File details

Details for the file cpacqc-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: cpacqc-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cpacqc-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 55dfbcf615e5253ac54e48f514066bae87dffa7958e03e4c6bc6d06f0b7b4c3f
MD5 65103e83e5e466782845bc8f9f7cc391
BLAKE2b-256 e85420e4d07a850d717d3164f4b8bab88bcecec36b26926d7cd4191766e9b15e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page