code: def BCD_calc(AM, POP):
      """
      Calculate Bray-Curtis dissimilarity (BCD).
  
      :param AM: Automatic/Manual
      :type AM: int
      :param POP: population or total number of samples
      :type POP: int
      :return: BCD as float
      """
      try:
          return abs(AM) / (2 * POP)
      except (ZeroDivisionError, TypeError, AttributeError):
          return "None"
  
imports: from __future__ import division
  import math
  from .pycm_util import normal_quantile
  from .pycm_interpret import *
  from .pycm_param import CLASS_PARAMS
label_desc: Use image node_id 35 for calling a global function with example usage: BCD_calc(AM, POP) and returns: unknown, str