def process_STATS_ASCII_data_line(line,nchan):
  """This processes one line of a STATS data file

  @param line : string
    One line from an ASCII STATS data file

  @param nchan : number of signal channels in the file
  
  @return: list of lists
    Lists of the means, rms, kurtoses and skews for the subchannels
    at one sampling time.
  """
  data = line.split()
  mean = []
  rms = []
  skew = []
  kurtosis = []
  sec = int(data[0])
  ms = int(data[1])
  for i in range(2,2+4*nchan,4):
    mean.append(float(data[i]))
    rms.append(float(data[i+1]))
    kurtosis.append(float(data[i+2]))
    skew.append(float(data[i+3]))
  return (sec,ms,mean,rms,kurtosis,skew)