nimare.io.convert_neurosynth_to_json

convert_neurosynth_to_json(text_file, out_file, annotations_file=None)[source]

Convert Neurosynth dataset text file to a NiMARE json file.

Parameters:
  • text_file (str) – Text file with Neurosynth’s coordinates. Normally named “database.txt”.
  • out_file (str) – Output NiMARE-format json file.
  • annotations_file (str or None, optional) – Optional file with Neurosynth’s annotations. Normally named “features.txt”. Default is None.