brainstat.context.meta_analysis.fetch_neurosynth_dataset

brainstat.context.meta_analysis.fetch_neurosynth_dataset(data_dir, return_pkl=True, verbose=False)[source]

Downloads the Neurosynth dataset

Parameters
  • data_dir (str) – Directory in which to download the dataset.

  • return_pkl (bool) – If true, creates and returns the .pkl file. Otherwise returns the dataset and features files.

  • verbose (bool) – If true prints additional output to the console, by default False.

Returns

tuple, str – If save_pkl is false, returns a tuple containing the path to the database.txt and the features.txt file. Otherwise returns the path to the .pkl file.