Skip to main content

Compute brain region signal statistics for 3D brain volume

Project description

Welcome!

This is a repository for computing region signal statistics for 3D brain volume.

Instructions

To use the brain-region-signal-statistics-calculalor library, either clone this repository and install the requirements listed in setup.py or install directly with pip.

Install package

pip install brain-region-signal-statistics-calculalor

The script should take four inputs:

  • an image volume to summarize (e.g. data/signal.npz)
  • an image volume that maps voxels to brain region IDs (e.g. data/annotation.npz)
  • a CSV describing brain regions (e.g. data/structures.csv)
  • an output CSV file name (e.g. data/statistics.csv)

Testing

To compute the statistics for the given signal image, run:

./run.py --annotation_volume_path data/annotation.npz --signal_volume_path data/signal.npz --structures_df_path data/structures.csv --statistics_df_path data/statistics.csv

Contact

Di Wang (di-wang@uiowa.edu)

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

Built Distribution

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

File details

Details for the file brain_region_signal_statistics_calculalor-0.0.2.tar.gz.

File metadata

File hashes

Hashes for brain_region_signal_statistics_calculalor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 77c38656a294a1156d350817298e72591e847e2a89f14280e301f4953c46bdd4
MD5 883d54450046456047d10657460dcfb9
BLAKE2b-256 f618de017785a2782a963db2375f5f11c6bcd44998259498f62b03150b046c89

See more details on using hashes here.

File details

Details for the file brain_region_signal_statistics_calculalor-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for brain_region_signal_statistics_calculalor-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e191c01125920b66e10e76553269c2e17563b67f4cd813b803ecdf9d1283bd27
MD5 d07362734a7961f498d943de2b1c3c15
BLAKE2b-256 4a1f60ae4528f14c3d4c63f8f654c2894ef4167c120e41a02eb6ce812b9011bb

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