code: def check_alpha(a):
      
  
      a = check_1d(a, "alpha")
      if any(map(lambda d: d <= 0, a)):
          raise Exception('Alpha cannot be 0 or negative')
  
      return a
docs: Check and parse alpha specs as either a single [a] or a list of [a,a,a,...]