nimare.io.convert_neurosynth_to_dict

convert_neurosynth_to_dict(text_file, annotations_file=None)[source]

Convert Neurosynth database files to a dictionary.

Parameters
  • text_file (str) – Text file with Neurosynth’s coordinates. Normally named “database.txt”.

  • annotations_file (str or None, optional) – Optional file with Neurosynth’s annotations. Normally named “features.txt”. Default is None.

Returns

dict_ (dict) – NiMARE-organized dictionary containing experiment information from text files.