tedana.selection.component_selector.ComponentSelector.check_null

ComponentSelector.check_null(params: Dict, fcn: str) Dict[source]

Check that required parameters for selection node functions are attributes in the class.

Error if any are undefined.

Parameters:
  • params (dict) – The keys and values for the inputted parameters

  • fcn (str) – The name of a component selection function in selection_nodes.py

Returns:

params (dict) – The keys and values for the inputted parameters. If a parameter’s value was defined in self.cross_component_metrics then that value is also in params when returned