mmc.Hierarchy.get_threshold_info()

Hierarchy.get_threshold_info(marker, name, batch=None, flexible_level=True, flexible_batch=True)

Identifies and returns threshold information, with support for searching all levels or batches if specified location lacks information.

Parameters:
  • marker (str) – Marker to find thresholding information on

  • name (str) – Name of the node in the hierarchy

  • batch (str (default: None)) – Batch of the marker to find information on

  • flexible_level (bool (default: True)) – Whether to search any level, if the specified level lacks information

  • flexible_batch (bool (default: True)) – Whether to search any batch, if the specified batch lacks information

Return type:

Tuple[bool, Tuple[float, float]]

Returns:

  • interactive (bool) – Whether thresholds have been done interactively

  • (minimum, maximum) (tuple of float) – Minimum and maximum thresholds for the specified marker, node, and batch