docs: def t_from_gauge(gauge, SI=True, schedule='BWG'):
      r'''Looks up the thickness of a given wire gauge of given schedule.
      Values are all non-linear, and tabulated internally.
  
      Parameters
      ----------
      gauge : float-like
          Wire Gauge, []
      SI : bool, optional
          If False, will return a thickness in inches not meters
      schedule : str
          Gauge schedule, one of 'BWG', 'AWG', 'SWG', 'MWG', 'BSWG', or 'SSWG'
  
      Returns
      -------
      t : float
          Thickness, [m]
  
      Notes
      -----
      
      * Birmingham Wire Gauge (BWG) ranges from 0.2 (0.5 inch) to 36 (0.004 inch).
      * American Wire Gauge (AWG) ranges from 0.167 (0.58 inch) to 51 (0.00099
        inch). These are used for electrical wires.
      * Steel Wire Gauge (SWG) ranges from 0.143 (0.49 inch) to 51 (0.0044 inch).
        Also called Washburn & Moen wire gauge, American Steel gauge, Wire Co.
        gauge, and Roebling wire gauge.
      * Music Wire Gauge (MWG) ranges from 0.167 (0.004 inch) to 46 (0.18
        inch). Also called Piano Wire Gauge.
      * British Standard Wire Gage (BSWG) ranges from 0.143 (0.5 inch) to
        51 (0.001 inch). Also called Imperial Wire Gage (IWG).
      * Stub's Steel Wire Gage (SSWG) ranges from 1 (0.227 inch) to 80 (0.013 inch)
  
      Examples
      --------
      >>> t_from_gauge(.2, False, 'BWG')
      0.5
  
      References
      ----------
      .. [1] Oberg, Erik, Franklin D. Jones, and Henry H. Ryffel. Machinery's
         Handbook. Industrial Press, Incorporated, 2012.
      '''
      try:
          sch_integers, sch_inch, sch_SI, decreasing = wire_schedules[schedule]
      except:
          raise ValueError("Wire gauge schedule not found; supported gauges are \
  'BWG', 'AWG', 'SWG', 'MWG', 'BSWG', and 'SSWG'.")
  
      try:
          i = sch_integers.index(gauge)
      except:
          raise ValueError('Input gauge not found in selected schedule')
      if SI:
          return sch_SI[i] # returns thickness in m
      else:
          return sch_inch[i]