code: def write_header(fobj):
      
      fobj.write("# K40 calibration results\n")
      fobj.write("det_id\trun_id\tdom_id")
      for param in ['t0', 'qe']:
          for i in range(31):
              fobj.write("\t{}_ch{}".format(param, i))
docs: Add the header to the CSV file