tedana.selection.component_selector.load_config

load_config(tree)[source]

Load the json file with the decision tree and validate the fields in the decision tree.

Parameters:

tree (str) – The named tree or path to a JSON file that defines one

Returns:

tree (dict) – A validated decision tree for the component selection process.