code: def print_result(filt, full=None):
      r
      print('   Filter length   : %d' % filt.base.size)
      print('   Best filter')
  
      if full:  # If full provided, we have more information
          if full[4] == 0:  # Min amp
              print('   > Min field     : %g' % full[1])
          else:  # Max amp
              r = 1/full[1]
              print('   > Max r         : %g' % r)
          spacing = full[0][0]
          shift = full[0][1]
      else:  # Print what we can without full
          n = filt.base.size
          a = filt.base[-1]
          b = filt.base[-2]
          spacing = np.log(a)-np.log(b)
          shift = np.log(a)-spacing*(n//2)
      print('   > Spacing       : %1.10g' % spacing)
      print('   > Shift         : %1.10g' % shift)
      print('   > Base min/max  : %e / %e' % (filt.base.min(), filt.base.max()))
docs: r"""Print best filter information.
  
      Parameters
      ----------
      - filt, full as returned from fdesign.design with full_output=True