tedana.io.download_json

download_json(tree: str, out_dir: str) str[source]

Download a json file from figshare unless the file already exists.

Parameters:
  • tree (str) – The name of the tree to download

  • out_dir (str) – The directory where the json file will be saved

Returns:

save_path (str) – The filepath of the downloaded decision tree.