Skip to content

chrisgorgo/pyneurovault

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyneurovault

python wrapper for NeuroVault api (in dev)

Currently supports:

  • downloading all image and collections data into tables
  • counting unique cognitive atlas contrasts
  • downloading all resampled images
  • decoding with neurosynth terms

Query functionality will be added.

Installation

pip install git+https://github.com/NeuroVault/pyneurovault

Example

# If we want to get either data frame, or combined
nv.get_images_df()
nv.get_collections_df()
nv.get_images_with_collections_df()

# Get unique cognitive atlas contrasts and counts
contrasts = nv.get_contrasts()

# Download raw images to file
outfolder = "/home/vanessa/Desktop"
standard = "/usr/share/fsl/data/standard/MNI152_T1_2mm_brain.nii.gz"
nv.download_and_resample(outfolder,standard)

About

python wrapper for NeuroVault api (in dev)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%