Skip to main content

Nonparametric True Discovery Proportion control for brain imaging

Project description

NOTIP: Non-parametric True Discovery Proportion control for brain imaging

This repository contains the code to reproduce all experiments of the Notip paper (https://arxiv.org/abs/2204.10572). The scripts directory contains a script per figure. Note that the first time you run one of those scripts, the fMRI data fetching from Neurovault will take place, which takes a significant amount of time. This only needs to be done once.

Installing dependencies

python -m pip install -r requirements.txt

Reproducing figures

To reproduce any figure, i.e. figure 2, run:

python figure_2.py

This will display the corresponding figure as well as save it in ../figures

Parallelization

To speed up any script using parallelization on CPU cores, use:

python figure_2.py 6

With any number of CPU cores instead of 6.

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

notip-0.1.4.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

notip-0.1.4-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

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