parameters: (inarray, nfixed)
return_statement: return outarray
docstring: Pad a list to specified size.
docstring_summary: Pad a list to specified size.
docstring_tokens: Pad a list to specified size .
function: def PadArray(inarray, nfixed):
      """
      Pad a list to specified size.
      """
      npt = len(inarray)
      padding = nfixed - npt
      outarray = []
      outarray.extend(inarray)
      outarray += [0] * padding
      return outarray
function_tokens: def PadArray ( inarray , nfixed ) : npt = len ( inarray ) padding = nfixed - npt outarray = [ ] outarray . extend ( inarray ) outarray += [ 0 ] * padding return outarray