tedana.selection._utils¶
Utility functions for tedana.selection
Functions
getelbow (arr[, return_val]) |
Elbow using linear projection method - moderate |
getelbow_cons (arr[, return_val]) |
Elbow using mean/variance method - conservative |
-
getelbow
(arr, return_val=False)[source]¶ Elbow using linear projection method - moderate
Parameters: - arr ((C,) array_like) – Metric (e.g., Kappa or Rho) values.
- return_val (
bool
, optional) – Return the value of the elbow instead of the index. Default: False
Returns: Either the elbow index (if return_val is True) or the values at the elbow index (if return_val is False)
Return type:
-
getelbow_cons
(arr, return_val=False)[source]¶ Elbow using mean/variance method - conservative
Parameters: - arr ((C,) array_like) – Metric (e.g., Kappa or Rho) values.
- return_val (
bool
, optional) – Return the value of the elbow instead of the index. Default: False
Returns: Either the elbow index (if return_val is True) or the values at the elbow index (if return_val is False)
Return type: