tedana.selection._utils.getelbow_cons

getelbow_cons(ks, val=False)[source]

Elbow using mean/variance method - conservative

Parameters:
  • ks (array_like) –
  • val (bool, optional) – Return the value of the elbow instead of the index. Default: False
Returns:

Either the elbow index (if val is True) or the values at the elbow index (if val is False)

Return type:

int or float