mmc.Hierarchy.save_thresholds()

Hierarchy.save_thresholds(save_path=None, non_destructive=True)

Saves thresholds as a .csv file, non_desctructive saving loads in the old file and appends new definitions onto it

Parameters:
  • save_path (str (default: None)) – Filepath where one is saving the thresholding information

  • non_destructive (bool (default: True)) – Whether to append the current file with new thresholding information or whether to overwrite any existing file